public class ExchangeServerPeer extends com.alibaba.dubbo.remoting.exchange.support.ExchangeServerDelegate implements ExchangePeer
| 构造器和说明 |
|---|
ExchangeServerPeer(com.alibaba.dubbo.remoting.exchange.ExchangeServer server,
Map<com.alibaba.dubbo.common.URL,com.alibaba.dubbo.remoting.exchange.ExchangeClient> clients,
ExchangeGroup group) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
close() |
com.alibaba.dubbo.remoting.Channel |
getChannel(InetSocketAddress remoteAddress) |
Collection<com.alibaba.dubbo.remoting.Channel> |
getChannels() |
com.alibaba.dubbo.remoting.exchange.ExchangeChannel |
getExchangeChannel(InetSocketAddress remoteAddress) |
Collection<com.alibaba.dubbo.remoting.exchange.ExchangeChannel> |
getExchangeChannels() |
void |
leave()
leave.
|
void |
send(Object message) |
void |
send(Object message,
boolean sent) |
close, getChannelHandler, getLocalAddress, getServer, getUrl, isBound, isClosed, reset, reset, setServer, startClosepublic ExchangeServerPeer(com.alibaba.dubbo.remoting.exchange.ExchangeServer server,
Map<com.alibaba.dubbo.common.URL,com.alibaba.dubbo.remoting.exchange.ExchangeClient> clients,
ExchangeGroup group)
public void leave()
throws com.alibaba.dubbo.remoting.RemotingException
Peerpublic void close()
close 在接口中 com.alibaba.dubbo.remoting.Endpointclose 在类中 com.alibaba.dubbo.remoting.exchange.support.ExchangeServerDelegatepublic Collection<com.alibaba.dubbo.remoting.Channel> getChannels()
getChannels 在接口中 com.alibaba.dubbo.remoting.ServergetChannels 在类中 com.alibaba.dubbo.remoting.exchange.support.ExchangeServerDelegatepublic com.alibaba.dubbo.remoting.Channel getChannel(InetSocketAddress remoteAddress)
getChannel 在接口中 com.alibaba.dubbo.remoting.ServergetChannel 在类中 com.alibaba.dubbo.remoting.exchange.support.ExchangeServerDelegatepublic Collection<com.alibaba.dubbo.remoting.exchange.ExchangeChannel> getExchangeChannels()
getExchangeChannels 在接口中 com.alibaba.dubbo.remoting.exchange.ExchangeServergetExchangeChannels 在类中 com.alibaba.dubbo.remoting.exchange.support.ExchangeServerDelegatepublic com.alibaba.dubbo.remoting.exchange.ExchangeChannel getExchangeChannel(InetSocketAddress remoteAddress)
getExchangeChannel 在接口中 com.alibaba.dubbo.remoting.exchange.ExchangeServergetExchangeChannel 在类中 com.alibaba.dubbo.remoting.exchange.support.ExchangeServerDelegatepublic void send(Object message) throws com.alibaba.dubbo.remoting.RemotingException
send 在接口中 com.alibaba.dubbo.remoting.Endpointsend 在类中 com.alibaba.dubbo.remoting.exchange.support.ExchangeServerDelegatecom.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.exchange.support.ExchangeServerDelegatecom.alibaba.dubbo.remoting.RemotingExceptionCopyright © 2018. All rights reserved.