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()
close the channel.
|
Object |
getDelegateServer() |
DubboHandlerRegistry |
getRegistry() |
boolean |
isStarted() |
void |
start() |
close, getChannel, getChannelHandler, getChannels, getLocalAddress, getUrl, isBound, isClosed, reset, reset, send, send, startCloseequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcanHandleIdlepublic 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()
Endpointclose in interface Endpointclose in class AbstractProxyProtocol.RemotingServerAdapterCopyright © 2011–2020 The Apache Software Foundation. All rights reserved.