public interface GrpcServiceContext extends ConnectionContext, GrpcMetadata
Modifier and Type | Interface and Description |
---|---|
static interface |
GrpcServiceContext.GrpcProtocol |
ConnectionContext.Protocol
Modifier and Type | Method and Description |
---|---|
GrpcExecutionContext |
executionContext()
Get the
ExecutionContext for this ConnectionContext . |
GrpcServiceContext.GrpcProtocol |
protocol()
Get the
ConnectionContext.Protocol for this ConnectionContext . |
localAddress, remoteAddress, socketOption, sslSession
onClose
closeAsync, closeAsyncGracefully
path
GrpcExecutionContext executionContext()
ConnectionContext
ExecutionContext
for this ConnectionContext
.
The ExecutionContext.ioExecutor()
will represent the thread responsible for IO for this
ConnectionContext
. Note that this maybe different that what was used to create this object because
at this time a specific IoExecutor
has been selected.
executionContext
in interface ConnectionContext
ExecutionContext
for this ConnectionContext
.GrpcServiceContext.GrpcProtocol protocol()
ConnectionContext
ConnectionContext.Protocol
for this ConnectionContext
.protocol
in interface ConnectionContext
ConnectionContext.Protocol
for this ConnectionContext
.