public interface WrappedByteChannel extends 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(ByteBuffer dst)
This function does not read data from the underlying channel at all.
|
void |
writeMore() |
read
write
boolean isNeedWrite()
void writeMore() throws IOException
IOException
boolean isNeedRead()
int readMore(ByteBuffer dst) throws SSLException
ReadableByteChannel.read(ByteBuffer)
.SSLException
boolean isBlocking()
Copyright © 2013. All Rights Reserved.