@Deprecated public abstract class AbstractOioChannel extends AbstractChannel
Channel
implementations that use Old-Blocking-IOAbstractChannel.AbstractUnsafe
Channel.Unsafe
限定符和类型 | 字段和说明 |
---|---|
protected static int |
SO_TIMEOUT
已过时。
|
限定符 | 构造器和说明 |
---|---|
protected |
AbstractOioChannel(Channel parent)
已过时。
|
限定符和类型 | 方法和说明 |
---|---|
protected void |
clearReadPending()
已过时。
Set read pending to
false . |
protected void |
doBeginRead()
已过时。
Schedule a read operation.
|
protected abstract void |
doConnect(java.net.SocketAddress remoteAddress,
java.net.SocketAddress localAddress)
已过时。
Connect to the remote peer using the given localAddress if one is specified or
null otherwise. |
protected abstract void |
doRead()
已过时。
|
protected boolean |
isCompatible(EventLoop loop)
已过时。
Return
true if the given EventLoop is compatible with this instance. |
protected boolean |
isReadPending()
已过时。
No longer supported.
No longer supported.
|
protected AbstractChannel.AbstractUnsafe |
newUnsafe()
已过时。
Create a new
AbstractChannel.AbstractUnsafe instance which will be used for the life-time of the Channel |
protected void |
setReadPending(boolean readPending)
已过时。
Use
clearReadPending() if appropriate instead.
No longer supported. |
alloc, bind, bind, bytesBeforeUnwritable, bytesBeforeWritable, close, close, closeFuture, compareTo, connect, connect, connect, connect, deregister, deregister, disconnect, disconnect, doBind, doClose, doDeregister, doDisconnect, doRegister, doShutdownOutput, doWrite, equals, eventLoop, filterOutboundMessage, flush, hashCode, id, invalidateLocalAddress, invalidateRemoteAddress, isRegistered, isWritable, localAddress, localAddress0, maxMessagesPerWrite, newChannelPipeline, newFailedFuture, newId, newProgressivePromise, newPromise, newSucceededFuture, parent, pipeline, read, remoteAddress, remoteAddress0, toString, unsafe, validateFileRegion, voidPromise, write, write, writeAndFlush, writeAndFlush
attr, hasAttr
attr, hasAttr
protected static final int SO_TIMEOUT
protected AbstractOioChannel(Channel parent)
protected AbstractChannel.AbstractUnsafe newUnsafe()
AbstractChannel
AbstractChannel.AbstractUnsafe
instance which will be used for the life-time of the Channel
newUnsafe
在类中 AbstractChannel
protected boolean isCompatible(EventLoop loop)
AbstractChannel
true
if the given EventLoop
is compatible with this instance.isCompatible
在类中 AbstractChannel
protected abstract void doConnect(java.net.SocketAddress remoteAddress, java.net.SocketAddress localAddress) throws java.lang.Exception
null
otherwise.java.lang.Exception
protected void doBeginRead() throws java.lang.Exception
AbstractChannel
doBeginRead
在类中 AbstractChannel
java.lang.Exception
protected abstract void doRead()
@Deprecated protected boolean isReadPending()
@Deprecated protected void setReadPending(boolean readPending)
clearReadPending()
if appropriate instead.
No longer supported.protected final void clearReadPending()
false
.