public class GrizzlyServer extends AbstractServer
| Constructor and Description |
|---|
GrizzlyServer(URL url,
ChannelHandler handler) |
| Modifier and Type | Method and Description |
|---|---|
void |
connected(Channel ch)
on channel connected.
|
void |
disconnected(Channel ch)
on channel disconnected.
|
Channel |
getChannel(InetSocketAddress remoteAddress)
get channel.
|
Collection<Channel> |
getChannels()
get channels.
|
boolean |
isBound()
is bound.
|
close, close, 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 GrizzlyServer(URL url, ChannelHandler handler) throws RemotingException
RemotingExceptionpublic boolean isBound()
Serverpublic Collection<Channel> getChannels()
Serverpublic Channel getChannel(InetSocketAddress remoteAddress)
Serverpublic void connected(Channel ch) throws RemotingException
ChannelHandlerconnected in interface ChannelHandlerconnected in class AbstractServerch - channel.RemotingExceptionpublic void disconnected(Channel ch) throws RemotingException
ChannelHandlerdisconnected in interface ChannelHandlerdisconnected in class AbstractServerch - channel.RemotingExceptionCopyright © 2011–2018 The Apache Software Foundation. All rights reserved.