@Deprecated public abstract class OioByteStreamChannel extends AbstractOioByteChannel
AbstractChannel.AbstractUnsafeChannel.UnsafeSO_TIMEOUT| Modifier | Constructor and Description |
|---|---|
protected |
OioByteStreamChannel(Channel parent)
Deprecated.
Create a new instance
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
activate(InputStream is,
OutputStream os)
Deprecated.
Activate this instance.
|
protected int |
available()
Deprecated.
Return the number of bytes ready to read from the underlying Socket.
|
protected void |
doClose()
Deprecated.
Close the
Channel |
protected int |
doReadBytes(ByteBuf buf)
Deprecated.
Read bytes from the underlying Socket.
|
protected void |
doWriteBytes(ByteBuf buf)
Deprecated.
Write the data which is hold by the
ByteBuf to the underlying Socket. |
protected void |
doWriteFileRegion(FileRegion region)
Deprecated.
Write the data which is hold by the
FileRegion to the underlying Socket. |
boolean |
isActive()
Deprecated.
Return
true if the Channel is active and so connected. |
doRead, doWrite, filterOutboundMessage, isInputShutdown, metadata, shutdownInputclearReadPending, doBeginRead, doConnect, isCompatible, isReadPending, newUnsafe, setReadPendingalloc, bind, bind, bytesBeforeUnwritable, bytesBeforeWritable, close, close, closeFuture, compareTo, connect, connect, connect, connect, deregister, deregister, disconnect, disconnect, doBind, doDeregister, doDisconnect, doRegister, doShutdownOutput, equals, eventLoop, 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, writeAndFlushattr, hasAttrclone, finalize, getClass, notify, notifyAll, wait, wait, waitattr, hasAttrprotected final void activate(InputStream is, OutputStream os)
isActive() will return true.public boolean isActive()
Channeltrue if the Channel is active and so connected.protected int available()
AbstractOioByteChannelavailable in class AbstractOioByteChannelprotected int doReadBytes(ByteBuf buf) throws Exception
AbstractOioByteChanneldoReadBytes in class AbstractOioByteChannelbuf - the ByteBuf into which the read bytes will be writtenException - is thrown if an error occurredprotected void doWriteBytes(ByteBuf buf) throws Exception
AbstractOioByteChannelByteBuf to the underlying Socket.doWriteBytes in class AbstractOioByteChannelbuf - the ByteBuf which holds the data to transferException - is thrown if an error occurredprotected void doWriteFileRegion(FileRegion region) throws Exception
AbstractOioByteChannelFileRegion to the underlying Socket.doWriteFileRegion in class AbstractOioByteChannelregion - the FileRegion which holds the data to transferException - is thrown if an error occurredprotected void doClose()
throws Exception
AbstractChannelChanneldoClose in class AbstractChannelExceptionCopyright © 2008–2025 The Netty Project. All rights reserved.