@Namespace(value="tensorflow") @Properties(inherit=tensorflow.class) public class ServerFactory extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
ServerFactory(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
AcceptsOptions(ServerDef server_def) |
static Status |
GetFactory(ServerDef server_def,
PointerPointer out_factory) |
static Status |
GetFactory(ServerDef server_def,
ServerFactory out_factory) |
Status |
NewServer(ServerDef server_def,
ServerInterface out_server) |
static void |
Register(BytePointer server_type,
ServerFactory factory) |
static void |
Register(String server_type,
ServerFactory factory) |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
public ServerFactory(Pointer p)
Pointer(Pointer)
.@ByVal public Status NewServer(@Const @ByRef ServerDef server_def, @UniquePtr ServerInterface out_server)
@Cast(value="bool") public boolean AcceptsOptions(@Const @ByRef ServerDef server_def)
public static void Register(@StdString BytePointer server_type, ServerFactory factory)
public static void Register(@StdString String server_type, ServerFactory factory)
@ByVal public static Status GetFactory(@Const @ByRef ServerDef server_def, @Cast(value="tensorflow::ServerFactory**") PointerPointer out_factory)
Copyright © 2022. All rights reserved.