java.nio.channels.spi
public abstract class AbstractSelectionKey extends SelectionKey
Since: 1.4
Constructor Summary | |
---|---|
protected | AbstractSelectionKey()
Initializes the key. |
Method Summary | |
---|---|
void | cancel()
Cancels this key. |
boolean | isValid()
Tells whether this key is valid or not.
|
Returns: true if this key is valid, false otherwise