| 限定符和类型 | 方法和说明 |
|---|---|
void |
close()
close the channel.
|
Channel |
getChannel(InetSocketAddress remoteAddress)
get channel.
|
Collection<Channel> |
getChannels()
get channels.
|
void |
leave()
leave.
|
void |
send(Object message)
send message.
|
void |
send(Object message,
boolean sent)
send message.
|
close, getChannelHandler, getLocalAddress, getServer, getUrl, isBound, isClosed, reset, reset, setServer, startCloseclose, getChannelHandler, getLocalAddress, getUrl, isClosed, startClosepublic void leave()
throws RemotingException
Peerleave 在接口中 PeerRemotingExceptionpublic void close()
Endpointclose 在接口中 Endpointclose 在类中 ServerDelegatepublic Collection<Channel> getChannels()
ServergetChannels 在接口中 ServergetChannels 在类中 ServerDelegatepublic Channel getChannel(InetSocketAddress remoteAddress)
ServergetChannel 在接口中 ServergetChannel 在类中 ServerDelegatepublic void send(Object message) throws RemotingException
Endpointsend 在接口中 Endpointsend 在类中 ServerDelegateRemotingExceptionpublic void send(Object message, boolean sent) throws RemotingException
Endpointsend 在接口中 Endpointsend 在类中 ServerDelegatesent - already sent to socket?RemotingExceptionCopyright © 2011–2018 The Apache Software Foundation. All rights reserved.