SocketChannels, DatagramChannels
or ServerSocketChannels.
AFSocketChannel, AFServerSocketChannel, AFDatagramChannel
| Modifier and Type | Method and Description |
|---|---|
| public SelectableChannel | Returns: This channel.true if blocking is desired.Adjusts this channel's blocking mode. |
| public boolean |
| configureBlocking | back to summary |
|---|---|
| public SelectableChannel configureBlocking(boolean block) throws IOException Adjusts this channel's blocking mode. If the given blocking mode is different from the currently cached blocking mode then this method native code to change it.
| |
| isBlocking | back to summary |
|---|---|
| public boolean isBlocking() Checks if the channel is configured blocking. The result may be cached, and therefore not invoke native code to check if the underlying socket is actually configured that way.
| |