|
|||||||||
| Home >> All >> java >> nio >> [ channels overview ] | PREV NEXT | ||||||||
Uses of Class
java.nio.channels.SelectionKey
| Uses of SelectionKey in java.nio.channels |
| Methods in java.nio.channels that return SelectionKey | |
abstract SelectionKey |
SelectableChannel.keyFor(Selector sel)
Retrieves the key representing the channel's registration with the given selector. |
SelectionKey |
SelectableChannel.register(Selector sel,
int ops)
Registers this channel with the given selector, returning a selection key. |
abstract SelectionKey |
SelectableChannel.register(Selector sel,
int ops,
java.lang.Object att)
Registers this channel with the given selector, returning a selection key. |
abstract SelectionKey |
SelectionKey.interestOps(int ops)
Sets this key's interest set to the given value. |
|
|||||||||
| Home >> All >> java >> nio >> [ channels overview ] | PREV NEXT | ||||||||