@Deprecated public abstract class AbstractOioChannel extends AbstractChannel
Channel
implementations that use Old-Blocking-IOAbstractChannel.AbstractUnsafe
Channel.Unsafe
Modifier and Type | Field and Description |
---|---|
protected static int |
SO_TIMEOUT
Deprecated.
|
Modifier | Constructor and Description |
---|---|
protected |
AbstractOioChannel(Channel parent)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected void |
clearReadPending()
Deprecated.
Set read pending to
false . |
protected void |
doBeginRead()
Deprecated.
Schedule a read operation.
|
protected abstract void |
doConnect(SocketAddress remoteAddress,
SocketAddress localAddress)
Deprecated.
Connect to the remote peer using the given localAddress if one is specified or
null otherwise. |
protected abstract void |
doRead()
Deprecated.
|
protected boolean |
isCompatible(EventLoop loop)
Deprecated.
Return
true if the given EventLoop is compatible with this instance. |
protected boolean |
isReadPending()
Deprecated.
No longer supported.
No longer supported.
|
protected AbstractChannel.AbstractUnsafe |
newUnsafe()
Deprecated.
Create a new
AbstractChannel.AbstractUnsafe instance which will be used for the life-time of the Channel |
protected void |
setReadPending(boolean readPending)
Deprecated.
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
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
attr, hasAttr
protected static final int SO_TIMEOUT
protected AbstractOioChannel(Channel parent)
AbstractChannel(Channel)
protected AbstractChannel.AbstractUnsafe newUnsafe()
AbstractChannel
AbstractChannel.AbstractUnsafe
instance which will be used for the life-time of the Channel
newUnsafe
in class AbstractChannel
protected boolean isCompatible(EventLoop loop)
AbstractChannel
true
if the given EventLoop
is compatible with this instance.isCompatible
in class AbstractChannel
protected abstract void doConnect(SocketAddress remoteAddress, SocketAddress localAddress) throws Exception
null
otherwise.Exception
protected void doBeginRead() throws Exception
AbstractChannel
doBeginRead
in class AbstractChannel
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
.Copyright © 2008–2024 The Netty Project. All rights reserved.