Class AbstractOioMessageChannel
java.lang.Object
io.netty.util.DefaultAttributeMap
io.netty.channel.AbstractChannel
io.netty.channel.oio.AbstractOioChannel
io.netty.channel.oio.AbstractOioMessageChannel
- All Implemented Interfaces:
Channel, ChannelOutboundInvoker, AttributeMap, java.lang.Comparable<Channel>
- Direct Known Subclasses:
OioDatagramChannel, OioSctpChannel, OioSctpServerChannel, OioServerSocketChannel
Deprecated.
use NIO / EPOLL / KQUEUE transport.
Abstract base class for OIO which reads and writes objects from/to a Socket
-
Nested Class Summary
Nested classes/interfaces inherited from class AbstractChannel
AbstractChannel.AbstractUnsafeNested classes/interfaces inherited from interface Channel
Channel.Unsafe -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final java.util.List<java.lang.Object> Deprecated.Fields inherited from class AbstractOioChannel
readPending, readTask, readWhenInactive, SO_TIMEOUT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddoRead()Deprecated.protected abstract intdoReadMessages(java.util.List<java.lang.Object> msgs) Deprecated.Read messages into the given array and return the amount which was read.Methods inherited from class AbstractOioChannel
clearReadPending, doBeginRead, doConnect, isCompatible, isReadPending, newUnsafe, setReadPendingMethods 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 class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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
-
readBuf
private final java.util.List<java.lang.Object> readBufDeprecated.
-
-
Constructor Details
-
AbstractOioMessageChannel
Deprecated.
-
-
Method Details
-
doRead
-
doReadMessages
protected abstract int doReadMessages(java.util.List<java.lang.Object> msgs) throws java.lang.Exception Deprecated.Read messages into the given array and return the amount which was read.- Throws:
java.lang.Exception
-