Class AbstractOioChannel
java.lang.Object
io.netty.util.DefaultAttributeMap
io.netty.channel.AbstractChannel
io.netty.channel.oio.AbstractOioChannel
- All Implemented Interfaces:
Channel, ChannelOutboundInvoker, AttributeMap, Comparable<Channel>
- Direct Known Subclasses:
AbstractOioByteChannel, AbstractOioMessageChannel
Deprecated.
use NIO / EPOLL / KQUEUE transport.
Abstract base class for
Channel implementations that use Old-Blocking-IO-
Nested Class Summary
Nested classes/interfaces inherited from class AbstractChannel
AbstractChannel.AbstractUnsafeNested classes/interfaces inherited from interface Channel
Channel.Unsafe -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected final voidDeprecated.Set read pending tofalse.protected voidDeprecated.Schedule a read operation.protected abstract voiddoConnect(SocketAddress remoteAddress, SocketAddress localAddress) Deprecated.Connect to the remote peer using the given localAddress if one is specified ornullotherwise.protected abstract voiddoRead()Deprecated.protected booleanisCompatible(EventLoop loop) Deprecated.Returntrueif the givenEventLoopis compatible with this instance.protected booleanDeprecated.No longer supported.protected AbstractChannel.AbstractUnsafeDeprecated.Create a newAbstractChannel.AbstractUnsafeinstance which will be used for the life-time of theChannelprotected voidsetReadPending(boolean readPending) Deprecated.UseclearReadPending()if appropriate instead.Methods inherited from class AbstractChannel
closeFuture, compareTo, doBind, doClose, doDeregister, doDisconnect, doRegister, doRegister, doShutdownOutput, doWrite, equals, eventLoop, filterOutboundMessage, hashCode, id, invalidateLocalAddress, invalidateRemoteAddress, isRegistered, localAddress, localAddress0, maxMessagesPerWrite, newChannelPipeline, newId, parent, pipeline, remoteAddress, remoteAddress0, toString, unsafe, validateFileRegion, voidPromiseMethods inherited from class DefaultAttributeMap
attr, hasAttrMethods inherited from interface AttributeMap
attr, hasAttrMethods inherited from interface Channel
alloc, bind, bind, bytesBeforeUnwritable, bytesBeforeWritable, close, close, config, connect, connect, connect, connect, deregister, deregister, disconnect, disconnect, flush, getOption, isActive, isOpen, isWritable, metadata, newFailedFuture, newProgressivePromise, newPromise, newSucceededFuture, read, setOption, write, write, writeAndFlush, writeAndFlush
-
Field Details
-
SO_TIMEOUT
protected static final int SO_TIMEOUTDeprecated.- See Also:
-
-
Constructor Details
-
AbstractOioChannel
-
-
Method Details
-
newUnsafe
Deprecated.Description copied from class:AbstractChannelCreate a newAbstractChannel.AbstractUnsafeinstance which will be used for the life-time of theChannel- Specified by:
newUnsafein classAbstractChannel
-
isCompatible
Deprecated.Description copied from class:AbstractChannelReturntrueif the givenEventLoopis compatible with this instance.- Specified by:
isCompatiblein classAbstractChannel
-
doConnect
protected abstract void doConnect(SocketAddress remoteAddress, SocketAddress localAddress) throws Exception Deprecated.Connect to the remote peer using the given localAddress if one is specified ornullotherwise.- Throws:
Exception
-
doBeginRead
Deprecated.Description copied from class:AbstractChannelSchedule a read operation.- Specified by:
doBeginReadin classAbstractChannel- Throws:
Exception
-
doRead
protected abstract void doRead()Deprecated. -
isReadPending
Deprecated.No longer supported. No longer supported. -
setReadPending
Deprecated.UseclearReadPending()if appropriate instead. No longer supported. -
clearReadPending
protected final void clearReadPending()Deprecated.Set read pending tofalse.
-