public class GrpcProtocol.GrpcRemotingServer extends AbstractProxyProtocol.RemotingServerAdapter
| 构造器和说明 |
|---|
GrpcRemotingServer(io.grpc.Server server,
DubboHandlerRegistry handlerRegistry) |
| 限定符和类型 | 方法和说明 |
|---|---|
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, startClosecanHandleIdlepublic GrpcRemotingServer(io.grpc.Server server,
DubboHandlerRegistry handlerRegistry)
public void start()
throws RpcException
RpcExceptionpublic DubboHandlerRegistry getRegistry()
public Object getDelegateServer()
public boolean isStarted()
public void close()
Endpointclose 在接口中 Endpointclose 在类中 AbstractProxyProtocol.RemotingServerAdapterCopyright © 2011–2021 The Apache Software Foundation. All rights reserved.