| Constructor and Description |
|---|
GrpcServer(io.grpc.Server server,
io.grpc.util.MutableHandlerRegistry handlerRegistry,
Map<String,Message> parserClasses,
MarshallerRegistry marshallerRegistry) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
addServerInterceptor(io.grpc.ServerInterceptor interceptor) |
int |
boundPort() |
io.grpc.util.MutableHandlerRegistry |
getHandlerRegistry() |
io.grpc.Server |
getServer() |
boolean |
init(Void opts) |
void |
registerConnectionClosedEventListener(ConnectionClosedEventListener listener) |
void |
registerProcessor(RpcProcessor processor) |
void |
setDefaultExecutor(ExecutorService defaultExecutor) |
void |
shutdown() |
public GrpcServer(io.grpc.Server server,
io.grpc.util.MutableHandlerRegistry handlerRegistry,
Map<String,Message> parserClasses,
MarshallerRegistry marshallerRegistry)
public void registerConnectionClosedEventListener(ConnectionClosedEventListener listener)
registerConnectionClosedEventListener in interface RpcServerpublic void registerProcessor(RpcProcessor processor)
registerProcessor in interface RpcServerpublic void setDefaultExecutor(ExecutorService defaultExecutor)
public io.grpc.Server getServer()
public io.grpc.util.MutableHandlerRegistry getHandlerRegistry()
public boolean addServerInterceptor(io.grpc.ServerInterceptor interceptor)
Copyright © 2024. All rights reserved.