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, filterOutboundMessage, metadata, newUnsafe, remoteAddress0
alloc, bind, bind, 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, writeAndFlush
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
alloc, 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, writeAndFlush
compareTo
protected boolean isCompatible(io.netty.channel.EventLoop loop)
protected void doBind(SocketAddress localAddress) throws Exception
doBind
in class io.netty.channel.AbstractChannel
Exception
protected <T> T getOption0(org.xnio.Option<T> option) throws IOException
Option
.IOException
protected <T> void setOption0(org.xnio.Option<T> option, T value) throws IOException
Option
to the given value.IOException
protected org.xnio.channels.AcceptingChannel xnioChannel()
AcceptingChannel
public boolean isActive()
isActive
in interface io.netty.channel.Channel
public InetSocketAddress localAddress()
localAddress
in interface io.netty.channel.Channel
localAddress
in interface io.netty.channel.socket.ServerSocketChannel
localAddress
in class io.netty.channel.AbstractChannel
public InetSocketAddress remoteAddress()
remoteAddress
in interface io.netty.channel.Channel
remoteAddress
in interface io.netty.channel.socket.ServerSocketChannel
remoteAddress
in class io.netty.channel.AbstractServerChannel
public org.xnio.netty.transport.XnioServerSocketChannelConfigImpl config()
config
in interface io.netty.channel.Channel
config
in interface io.netty.channel.socket.ServerSocketChannel
protected SocketAddress localAddress0()
localAddress0
in class io.netty.channel.AbstractChannel
protected void doClose() throws Exception
doClose
in class io.netty.channel.AbstractChannel
Exception
protected void doBeginRead() throws Exception
doBeginRead
in class io.netty.channel.AbstractChannel
Exception
public boolean isOpen()
isOpen
in interface io.netty.channel.Channel
Copyright © 2013–2017 JBoss, a division of Red Hat. All rights reserved.