public class UdpSelectionKey extends SelectionKey
OP_ACCEPT, OP_CONNECT, OP_READ, OP_WRITE| Constructor and Description |
|---|
UdpSelectionKey() |
| Modifier and Type | Method and Description |
|---|---|
void |
cancel() |
SelectableChannel |
channel() |
int |
interestOps() |
SelectionKey |
interestOps(int ops) |
boolean |
isValid() |
int |
readyOps() |
Selector |
selector() |
attach, attachment, isAcceptable, isConnectable, isReadable, isWritablepublic SelectableChannel channel()
channel in class SelectionKeypublic Selector selector()
selector in class SelectionKeypublic boolean isValid()
isValid in class SelectionKeypublic void cancel()
cancel in class SelectionKeypublic int interestOps()
interestOps in class SelectionKeypublic SelectionKey interestOps(int ops)
interestOps in class SelectionKeypublic int readyOps()
readyOps in class SelectionKeyCopyright © 2021. All rights reserved.