protected abstract class AbstractNioChannel.AbstractNioUnsafe extends AbstractChannel.AbstractUnsafe implements AbstractNioChannel.NioUnsafe
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractNioChannel.AbstractNioUnsafe() |
| Modifier and Type | Method and Description |
|---|---|
Channel |
ch() |
void |
connect(SocketAddress remoteAddress,
SocketAddress localAddress,
ChannelFuture future)
|
void |
finishConnect() |
void |
resumeRead()
Resume reads from the underlying transport.
|
void |
suspendRead()
Suspend reads from the underlying transport, which basicly has the effect of no new data that will
get dispatched.
|
bind, close, closeIfClosed, deregister, directOutboundContext, disconnect, ensureOpen, flush, flushNow, localAddress, register, remoteAddress, voidFutureclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitreadbind, close, deregister, directOutboundContext, disconnect, flush, flushNow, localAddress, register, remoteAddress, voidFutureprotected AbstractNioChannel.AbstractNioUnsafe()
public Channel ch()
ch in interface AbstractNioChannel.NioUnsafepublic 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.connect in interface Channel.Unsafepublic void finishConnect()
finishConnect in interface AbstractNioChannel.NioUnsafepublic void suspendRead()
Channel.UnsafesuspendRead in interface Channel.Unsafepublic void resumeRead()
Channel.UnsafeChannel.Unsafe.suspendRead() was not called before, this
has no effect.resumeRead in interface Channel.UnsafeCopyright © 2008-2012 The Netty Project. All Rights Reserved.