| 构造器和说明 |
|---|
ServerPeer(com.alibaba.dubbo.remoting.Server server,
Map<com.alibaba.dubbo.common.URL,com.alibaba.dubbo.remoting.Client> clients,
Group group) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
close() |
com.alibaba.dubbo.remoting.Channel |
getChannel(InetSocketAddress remoteAddress) |
Collection<com.alibaba.dubbo.remoting.Channel> |
getChannels() |
void |
leave()
leave.
|
void |
send(Object message) |
void |
send(Object message,
boolean sent) |
close, getChannelHandler, getLocalAddress, getServer, getUrl, isBound, isClosed, reset, reset, setServer, startClosepublic void leave()
throws com.alibaba.dubbo.remoting.RemotingException
Peerpublic void close()
close 在接口中 com.alibaba.dubbo.remoting.Endpointclose 在类中 com.alibaba.dubbo.remoting.transport.ServerDelegatepublic Collection<com.alibaba.dubbo.remoting.Channel> getChannels()
getChannels 在接口中 com.alibaba.dubbo.remoting.ServergetChannels 在类中 com.alibaba.dubbo.remoting.transport.ServerDelegatepublic com.alibaba.dubbo.remoting.Channel getChannel(InetSocketAddress remoteAddress)
getChannel 在接口中 com.alibaba.dubbo.remoting.ServergetChannel 在类中 com.alibaba.dubbo.remoting.transport.ServerDelegatepublic void send(Object message) throws com.alibaba.dubbo.remoting.RemotingException
send 在接口中 com.alibaba.dubbo.remoting.Endpointsend 在类中 com.alibaba.dubbo.remoting.transport.ServerDelegatecom.alibaba.dubbo.remoting.RemotingExceptionpublic void send(Object message, boolean sent) throws com.alibaba.dubbo.remoting.RemotingException
send 在接口中 com.alibaba.dubbo.remoting.Endpointsend 在类中 com.alibaba.dubbo.remoting.transport.ServerDelegatecom.alibaba.dubbo.remoting.RemotingExceptionCopyright © 2018. All rights reserved.