| Modifier and Type | Method and Description |
|---|---|
| public boolean | |
| public boolean | Returns: is a additional read neededreturns whether readMore should be called to fetch data which has been decoded but not yet been returned. |
| public boolean | Returns: is a additional write neededreturns whether writeMore should be called write additional data. |
| public int | Returns: the amount of remaining datathe destiny of the read dst)This function does not read data from the underlying channel at all. |
| public void |
| isBlocking | back to summary |
|---|---|
| public boolean isBlocking() This function returns the blocking state of the channel
| |
| isNeedRead | back to summary |
|---|---|
| public boolean isNeedRead() returns whether readMore should be called to fetch data which has been decoded but not yet been returned.
| |
| isNeedWrite | back to summary |
|---|---|
| public boolean isNeedWrite() returns whether writeMore should be called write additional data.
| |
| readMore | back to summary |
|---|---|
| public int readMore(ByteBuffer dst) throws IOException This function does not read data from the underlying channel at all. It is just a way to fetch
data which has already be received or decoded but was but was not yet returned to the user.
This could be the case when the decoded data did not fit into the buffer the user passed to
| |
| writeMore | back to summary |
|---|---|
| public void writeMore() throws IOException Gets called when
| |