protected abstract class AbstractNioChannel.AbstractNioUnsafe extends AbstractChannel.AbstractUnsafe implements AbstractNioChannel.NioUnsafe
| 限定符 | 构造器和说明 |
|---|---|
protected |
AbstractNioUnsafe() |
| 限定符和类型 | 方法和说明 |
|---|---|
java.nio.channels.SelectableChannel |
ch()
Return underlying
SelectableChannel |
void |
connect(java.net.SocketAddress remoteAddress,
java.net.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, writeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitreadbeginRead, bind, close, closeForcibly, deregister, disconnect, flush, localAddress, outboundBuffer, recvBufAllocHandle, register, remoteAddress, voidPromise, writeprotected final void removeReadOp()
public final java.nio.channels.SelectableChannel ch()
AbstractNioChannel.NioUnsafeSelectableChannelch 在接口中 AbstractNioChannel.NioUnsafepublic final void connect(java.net.SocketAddress remoteAddress,
java.net.SocketAddress localAddress,
ChannelPromise promise)
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 ChannelPromise will get notified once the connect operation was complete.connect 在接口中 Channel.Unsafepublic final void finishConnect()
AbstractNioChannel.NioUnsafefinishConnect 在接口中 AbstractNioChannel.NioUnsafeprotected final void flush0()
flush0 在类中 AbstractChannel.AbstractUnsafepublic final void forceFlush()
forceFlush 在接口中 AbstractNioChannel.NioUnsafe