public class NettyServer extends AbstractServer implements Server
| 构造器和说明 |
|---|
NettyServer(URL url,
ChannelHandler handler) |
| 限定符和类型 | 方法和说明 |
|---|---|
Channel |
getChannel(InetSocketAddress remoteAddress)
get channel.
|
Collection<Channel> |
getChannels()
get channels.
|
boolean |
isBound()
is bound.
|
close, close, connected, disconnected, getAccepts, getBindAddress, getIdleTimeout, getLocalAddress, reset, sendresetcaught, getChannelHandler, getDelegateHandler, getHandler, getUrl, isClosed, isClosing, received, send, sent, startCloseclose, close, getChannelHandler, getLocalAddress, getUrl, isClosed, send, send, startClosepublic NettyServer(URL url, ChannelHandler handler) throws RemotingException
public Collection<Channel> getChannels()
ServergetChannels 在接口中 Serverpublic Channel getChannel(InetSocketAddress remoteAddress)
ServergetChannel 在接口中 ServerCopyright © 2011–2018 The Apache Software Foundation. All rights reserved.