Package io.grpc.netty
Interface InternalProtocolNegotiator.ServerFactory
- All Superinterfaces:
io.grpc.netty.ProtocolNegotiator.ServerFactory
- Enclosing class:
InternalProtocolNegotiator
public static interface InternalProtocolNegotiator.ServerFactory
extends io.grpc.netty.ProtocolNegotiator.ServerFactory
-
Method Summary
Modifier and TypeMethodDescriptionnewNegotiator
(ObjectPool<? extends Executor> offloadExecutorPool) Creates a new negotiator.
-
Method Details
-
newNegotiator
InternalProtocolNegotiator.ProtocolNegotiator newNegotiator(ObjectPool<? extends Executor> offloadExecutorPool) Description copied from interface:io.grpc.netty.ProtocolNegotiator.ServerFactory
Creates a new negotiator.- Specified by:
newNegotiator
in interfaceio.grpc.netty.ProtocolNegotiator.ServerFactory
- Parameters:
offloadExecutorPool
- an executor pool for time-consuming tasks
-