public class GrpcProtocol.GrpcRemotingServer extends AbstractProxyProtocol.RemotingServerAdapter
| Constructor and Description |
|---|
GrpcRemotingServer(io.grpc.Server server,
DubboHandlerRegistry handlerRegistry) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
Object |
getDelegateServer() |
DubboHandlerRegistry |
getRegistry() |
boolean |
isStarted() |
void |
start() |
close, getChannel, getChannelHandler, getChannels, getLocalAddress, getUrl, isBound, isClosed, reset, reset, send, send, startClosepublic GrpcRemotingServer(io.grpc.Server server,
DubboHandlerRegistry handlerRegistry)
public void start()
throws RpcException
RpcExceptionpublic DubboHandlerRegistry getRegistry()
public Object getDelegateServer()
getDelegateServer in class AbstractProxyProtocol.RemotingServerAdapterpublic boolean isStarted()
public void close()
close in interface org.apache.dubbo.remoting.Endpointclose in class AbstractProxyProtocol.RemotingServerAdapterCopyright © 2011–2022 The Apache Software Foundation. All rights reserved.