protected abstract class AbstractNioChannel.AbstractNioUnsafe extends AbstractChannel.AbstractUnsafe implements AbstractNioChannel.NioUnsafe
Modifier | Constructor and Description |
---|---|
protected |
AbstractNioUnsafe() |
Modifier and Type | Method and Description |
---|---|
SelectableChannel |
ch()
Return underlying
SelectableChannel |
void |
connect(SocketAddress remoteAddress,
SocketAddress localAddress,
ChannelPromise promise)
|
void |
finishConnect()
Finish connect
|
protected void |
flush0() |
void |
forceFlush() |
protected void |
removeReadOp() |
annotateConnectException, beginRead, bind, close, closeForcibly, closeIfClosed, deregister, disconnect, ensureOpen, flush, handleWriteError, localAddress, outboundBuffer, prepareToClose, recvBufAllocHandle, register, remoteAddress, safeSetFailure, safeSetSuccess, shutdownOutput, voidPromise, write
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
read
beginRead, bind, close, closeForcibly, deregister, disconnect, flush, localAddress, outboundBuffer, recvBufAllocHandle, register, remoteAddress, voidPromise, write
protected final void removeReadOp()
public final SelectableChannel ch()
AbstractNioChannel.NioUnsafe
SelectableChannel
ch
in interface AbstractNioChannel.NioUnsafe
public final void connect(SocketAddress remoteAddress, SocketAddress localAddress, ChannelPromise promise)
Channel.Unsafe
Channel
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 ChannelPromise
will get notified once the connect operation was complete.connect
in interface Channel.Unsafe
public final void finishConnect()
AbstractNioChannel.NioUnsafe
finishConnect
in interface AbstractNioChannel.NioUnsafe
protected final void flush0()
flush0
in class AbstractChannel.AbstractUnsafe
public final void forceFlush()
forceFlush
in interface AbstractNioChannel.NioUnsafe
Copyright © 2008–2024 The Netty Project. All rights reserved.