public class ExchangeServerPeer extends ExchangeServerDelegate implements ExchangePeer
| Constructor and Description |
|---|
ExchangeServerPeer(ExchangeServer server,
Map<org.apache.dubbo.common.URL,ExchangeClient> clients,
ExchangeGroup group) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
Channel |
getChannel(InetSocketAddress remoteAddress) |
Collection<Channel> |
getChannels() |
ExchangeChannel |
getExchangeChannel(InetSocketAddress remoteAddress) |
Collection<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, startCloseequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisBound, resetclose, getChannelHandler, getLocalAddress, getUrl, isClosed, startClosecanHandleIdlepublic ExchangeServerPeer(ExchangeServer server, Map<org.apache.dubbo.common.URL,ExchangeClient> clients, ExchangeGroup group)
public void leave()
throws RemotingException
Peerleave in interface PeerRemotingExceptionpublic void close()
close in interface Endpointclose in class ExchangeServerDelegatepublic Collection<Channel> getChannels()
getChannels in interface RemotingServergetChannels in class ExchangeServerDelegatepublic Channel getChannel(InetSocketAddress remoteAddress)
getChannel in interface RemotingServergetChannel in class ExchangeServerDelegatepublic Collection<ExchangeChannel> getExchangeChannels()
getExchangeChannels in interface ExchangeServergetExchangeChannels in class ExchangeServerDelegatepublic ExchangeChannel getExchangeChannel(InetSocketAddress remoteAddress)
getExchangeChannel in interface ExchangeServergetExchangeChannel in class ExchangeServerDelegatepublic void send(Object message) throws RemotingException
send in interface Endpointsend in class ExchangeServerDelegateRemotingExceptionpublic void send(Object message, boolean sent) throws RemotingException
send in interface Endpointsend in class ExchangeServerDelegateRemotingExceptionCopyright © 2011–2019 The Apache Software Foundation. All rights reserved.