public class MinaServer extends AbstractServer
| Constructor and Description |
|---|
MinaServer(URL url,
ChannelHandler handler) |
| Modifier and Type | Method and Description |
|---|---|
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, startCloseequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetChannelHandler, getUrl, isClosed, send, startClosepublic MinaServer(URL url, ChannelHandler handler) throws RemotingException
RemotingExceptionpublic Collection<Channel> getChannels()
Serverpublic Channel getChannel(InetSocketAddress remoteAddress)
Serverpublic boolean isBound()
ServerCopyright © 2011–2020 The Apache Software Foundation. All rights reserved.