public final class XnioServerSocketChannel
extends io.netty.channel.AbstractServerChannel
ServerSocketChannel which uses XNIO.| Constructor and Description |
|---|
XnioServerSocketChannel() |
| Modifier and Type | Method and Description |
|---|---|
org.xnio.netty.transport.XnioServerSocketChannelConfigImpl |
config() |
protected void |
doBeginRead() |
protected void |
doBind(SocketAddress localAddress) |
protected void |
doClose() |
protected <T> T |
getOption0(org.xnio.Option<T> option)
Return the value for the given
Option. |
boolean |
isActive() |
protected boolean |
isCompatible(io.netty.channel.EventLoop loop) |
boolean |
isOpen() |
InetSocketAddress |
localAddress() |
protected SocketAddress |
localAddress0() |
InetSocketAddress |
remoteAddress() |
protected <T> void |
setOption0(org.xnio.Option<T> option,
T value)
Set the given
Option to the given value. |
protected org.xnio.channels.AcceptingChannel |
xnioChannel()
Return the underyling
AcceptingChannel |
doDisconnect, doWrite, metadata, newUnsafe, remoteAddress0alloc, bind, bind, checkEOF, close, close, closeFuture, compareTo, connect, connect, connect, connect, deregister, deregister, disconnect, disconnect, doDeregister, doRegister, equals, eventLoop, flush, hashCode, invalidateLocalAddress, invalidateRemoteAddress, isRegistered, isWritable, newFailedFuture, newProgressivePromise, newPromise, newSucceededFuture, parent, pipeline, read, toString, unsafe, voidPromise, write, write, writeAndFlush, writeAndFlushclone, finalize, getClass, notify, notifyAll, wait, wait, waitalloc, bind, bind, close, close, closeFuture, connect, connect, connect, connect, deregister, deregister, disconnect, disconnect, eventLoop, flush, isRegistered, isWritable, metadata, newFailedFuture, newProgressivePromise, newPromise, newSucceededFuture, parent, pipeline, read, unsafe, voidPromise, write, write, writeAndFlush, writeAndFlushcompareToprotected boolean isCompatible(io.netty.channel.EventLoop loop)
protected void doBind(SocketAddress localAddress) throws Exception
doBind in class io.netty.channel.AbstractChannelExceptionprotected <T> T getOption0(org.xnio.Option<T> option)
throws IOException
Option.IOExceptionprotected <T> void setOption0(org.xnio.Option<T> option,
T value)
throws IOException
Option to the given value.IOExceptionprotected org.xnio.channels.AcceptingChannel xnioChannel()
AcceptingChannelpublic boolean isActive()
isActive in interface io.netty.channel.Channelpublic InetSocketAddress localAddress()
localAddress in interface io.netty.channel.ChannellocalAddress in interface io.netty.channel.socket.ServerSocketChannellocalAddress in class io.netty.channel.AbstractChannelpublic InetSocketAddress remoteAddress()
remoteAddress in interface io.netty.channel.ChannelremoteAddress in interface io.netty.channel.socket.ServerSocketChannelremoteAddress in class io.netty.channel.AbstractServerChannelpublic org.xnio.netty.transport.XnioServerSocketChannelConfigImpl config()
config in interface io.netty.channel.Channelconfig in interface io.netty.channel.socket.ServerSocketChannelprotected SocketAddress localAddress0()
localAddress0 in class io.netty.channel.AbstractChannelprotected void doClose()
throws Exception
doClose in class io.netty.channel.AbstractChannelExceptionprotected void doBeginRead()
throws Exception
doBeginRead in class io.netty.channel.AbstractChannelExceptionpublic boolean isOpen()
isOpen in interface io.netty.channel.ChannelCopyright © 2013–2014 JBoss, a division of Red Hat. All rights reserved.