public interface WrappedByteChannel
extends java.nio.channels.ByteChannel
| Modifier and Type | Method and Description |
|---|---|
boolean |
isBlocking() |
boolean |
isNeedRead()
returns whether readMore should be called to fetch data which has been decoded but not yet been returned.
|
boolean |
isNeedWrite() |
int |
readMore(java.nio.ByteBuffer dst)
This function does not read data from the underlying channel at all.
|
void |
writeMore() |
boolean isNeedWrite()
void writeMore()
throws java.io.IOException
java.io.IOExceptionboolean isNeedRead()
ReadableByteChannel.read(ByteBuffer),
readMore(ByteBuffer)int readMore(java.nio.ByteBuffer dst)
throws javax.net.ssl.SSLException
ReadableByteChannel.read(ByteBuffer).javax.net.ssl.SSLExceptionboolean isBlocking()