| Modifier and Type | Method and Description |
|---|---|
| public int | Returns: the number of bytes immediately available for outputReturns the number of bytes immediately available for output. |
| public void | produce(DataStreamChannel
the data channel capable to accepting more data. channel)Triggered to signal the ability of the underlying data channel to accept more data. |
| available | back to summary |
|---|---|
| public int available() Returns the number of bytes immediately available for output. This method can be used as a hint to control output events of the underlying I/O session.
| |
| produce | back to summary |
|---|---|
| public void produce(DataStreamChannel channel) throws IOException Triggered to signal the ability of the underlying data channel to accept more data. The data producer can choose to write data immediately inside the call or asynchronously at some later point.
| |