public class MinaServer extends AbstractServer
| 构造器和说明 |
|---|
MinaServer(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, startClosegetChannelHandler, getUrl, isClosed, send, startClosepublic MinaServer(URL url, ChannelHandler handler) throws RemotingException
public Collection<Channel> getChannels()
Serverpublic Channel getChannel(InetSocketAddress remoteAddress)
Serverpublic boolean isBound()
ServerCopyright © 2011–2018 The Apache Software Foundation. All rights reserved.