Deprecated
use NIO / EPOLL / KQUEUE transport.
| Modifier and Type | Field and Description |
|---|---|
| private static final String | |
| private static final ChannelMetadata |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| protected abstract int | |
| private void | |
| protected void | |
| protected abstract int | Returns: amount the number of bytes read. This may return a negative amount if the underlying Socket was closedthe buf)ByteBuf into which the read bytes will be writtenRead bytes from the underlying Socket. |
| protected void | doWrite(ChannelOutboundBuffer in)
Implements abstract io. |
| protected abstract void | doWriteBytes(ByteBuf
the buf)ByteBuf which holds the data to transferWrite the data which is hold by the |
| protected abstract void | doWriteFileRegion(FileRegion
the region)FileRegion which holds the data to transferWrite the data which is hold by the |
| protected final Object | filterOutboundMessage(Object msg)
Overrides io. ChannelOutboundBuffer of this AbstractChannel, so that
the Channel implementation converts the message to another.
|
| private void | handleReadException(ChannelPipeline pipeline, ByteBuf byteBuf, Throwable cause, boolean close, RecvByteBufAllocator.
Deprecated
as a consequence of
RecvByteBufAllocator.Handle being deprecated.
|
| protected abstract boolean | Returns: true if the input side of this channel is shutdown.Determine if the input side of this channel is shutdown. |
| public ChannelMetadata | metadata()
Implements io. ChannelMetadata of the Channel which describe the nature of the Channel.
|
| protected abstract ChannelFuture | Returns: A channel future that will complete when the shutdown is complete.Shutdown the input side of this channel. |
| EXPECTED_TYPES | back to summary |
|---|---|
| private static final String EXPECTED_TYPES | |
| METADATA | back to summary |
|---|---|
| private static final ChannelMetadata METADATA | |
| AbstractOioByteChannel | back to summary |
|---|---|
| protected AbstractOioByteChannel(Channel parent) | |
| available | back to summary |
|---|---|
| protected abstract int available() Return the number of bytes ready to read from the underlying Socket. | |
| closeOnRead | back to summary |
|---|---|
| private void closeOnRead(ChannelPipeline pipeline) | |
| doRead | back to summary |
|---|---|
| protected void doRead() Implements abstract io.
| |
| doReadBytes | back to summary |
|---|---|
| protected abstract int doReadBytes(ByteBuf buf) throws Exception Read bytes from the underlying Socket. | |
| doWrite | back to summary |
|---|---|
| protected void doWrite(ChannelOutboundBuffer in) throws Exception Implements abstract io. Doc from io. Flush the content of the given buffer to the remote peer.
| |
| doWriteBytes | back to summary |
|---|---|
| protected abstract void doWriteBytes(ByteBuf buf) throws Exception Write the data which is hold by the | |
| doWriteFileRegion | back to summary |
|---|---|
| protected abstract void doWriteFileRegion(FileRegion region) throws Exception Write the data which is hold by the
| |
| filterOutboundMessage | back to summary |
|---|---|
| protected final Object filterOutboundMessage(Object msg) throws Exception Overrides io. Doc from io. Invoked when a new message is added to a
| |
| handleReadException | back to summary |
|---|---|
| private void handleReadException(ChannelPipeline pipeline, ByteBuf byteBuf, Throwable cause, boolean close, RecvByteBufAllocator. Deprecated as a consequence of | |
| isInputShutdown | back to summary |
|---|---|
| protected abstract boolean isInputShutdown() Determine if the input side of this channel is shutdown.
| |
| metadata | back to summary |
|---|---|
| public ChannelMetadata metadata() Implements io. Doc from io. Return the
| |
| shutdownInput | back to summary |
|---|---|
| protected abstract ChannelFuture shutdownInput() Shutdown the input side of this channel.
| |