public abstract class AbstractSelectionKey extends java.nio.channels.SelectionKey
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractSelectionKey()
Initializes the key.
|
| Modifier and Type | Method and Description |
|---|---|
void |
cancel()
Cancels this key.
|
boolean |
isValid()
Tells whether this key is valid or not.
|
protected AbstractSelectionKey()
public final void cancel()
cancel in class java.nio.channels.SelectionKeypublic final boolean isValid()
isValid in class java.nio.channels.SelectionKey