protected abstract class AbstractServerChannel.AbstractServerUnsafe extends AbstractChannel.AbstractUnsafe
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractServerChannel.AbstractServerUnsafe() |
| Modifier and Type | Method and Description |
|---|---|
void |
connect(SocketAddress remoteAddress,
SocketAddress localAddress,
ChannelFuture future)
|
void |
flush(ChannelFuture future)
Flush out all data that was buffered in the buffer of the
Channel.Unsafe.directOutboundContext() and was not
flushed out yet. |
bind, close, closeForcibly, closeIfClosed, deregister, directOutboundContext, disconnect, ensureOpen, flushNow, localAddress, register, remoteAddress, voidFutureclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitresumeRead, suspendReadprotected AbstractServerChannel.AbstractServerUnsafe()
public void flush(ChannelFuture future)
Channel.UnsafeChannel.Unsafe.directOutboundContext() and was not
flushed out yet. After that is done the ChannelFuture will get notifiedflush in interface Channel.Unsafeflush in class AbstractChannel.AbstractUnsafepublic void connect(SocketAddress remoteAddress, SocketAddress localAddress, ChannelFuture future)
Channel.UnsafeChannel of the given ChannelFuture with the given remote SocketAddress.
If a specific local SocketAddress should be used it need to be given as argument. Otherwise just
pass null to it.
The ChannelFuture will get notified once the connect operation was complete.Copyright © 2008-2012 The Netty Project. All Rights Reserved.