public class ServerPeer extends ServerDelegate implements Peer
| 构造器和说明 |
|---|
ServerPeer(RemotingServer server,
Map<org.apache.dubbo.common.URL,Client> clients,
Group group) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
close() |
Channel |
getChannel(InetSocketAddress remoteAddress) |
Collection<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, startCloseisBound, resetclose, getChannelHandler, getLocalAddress, getUrl, isClosed, startClosecanHandleIdlepublic ServerPeer(RemotingServer server, Map<org.apache.dubbo.common.URL,Client> clients, Group group)
public void leave()
throws RemotingException
Peerleave 在接口中 PeerRemotingExceptionpublic void close()
close 在接口中 Endpointclose 在类中 ServerDelegatepublic Collection<Channel> getChannels()
getChannels 在接口中 RemotingServergetChannels 在类中 ServerDelegatepublic Channel getChannel(InetSocketAddress remoteAddress)
getChannel 在接口中 RemotingServergetChannel 在类中 ServerDelegatepublic void send(Object message) throws RemotingException
send 在接口中 Endpointsend 在类中 ServerDelegateRemotingExceptionpublic void send(Object message, boolean sent) throws RemotingException
send 在接口中 Endpointsend 在类中 ServerDelegateRemotingExceptionCopyright © 2011–2023 The Apache Software Foundation. All rights reserved.