@Namespace(value="arrow::flight") @Properties(inherit=arrow_flight.class) public class ServerCallContext extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
ServerCallContext(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
ServerMiddleware |
GetMiddleware(BytePointer key) |
ServerMiddleware |
GetMiddleware(String key)
\brief Look up a middleware by key.
|
boolean |
is_cancelled()
\brief Check if the current RPC has been cancelled (by the client, by
a network error, etc.).
|
String |
peer_identity()
\brief The name of the authenticated peer (may be the empty string)
|
String |
peer()
\brief The peer address (not validated)
|
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 ServerCallContext(Pointer p)
Pointer(Pointer)
.@StdString public String peer_identity()
@StdString public String peer()
public ServerMiddleware GetMiddleware(@StdString String key)
public ServerMiddleware GetMiddleware(@StdString BytePointer key)
Copyright © 2022. All rights reserved.