public class SerialSelectionKey extends AbstractSelectionKey
OP_ACCEPT, OP_CONNECT, OP_READ, OP_WRITE| Constructor and Description |
|---|
SerialSelectionKey(SelectableChannel channel,
Selector selector,
int interestOps,
Object attachment) |
| Modifier and Type | Method and Description |
|---|---|
SelectableChannel |
channel() |
int |
interestOps() |
SelectionKey |
interestOps(int ops) |
int |
readyOps() |
void |
readyOps(int ops) |
Selector |
selector() |
String |
toString() |
cancel, isValidattach, attachment, isAcceptable, isConnectable, isReadable, isWritablepublic SerialSelectionKey(SelectableChannel channel, Selector selector, int interestOps, Object attachment)
public SelectableChannel channel()
channel in class SelectionKeypublic Selector selector()
selector in class SelectionKeypublic int interestOps()
interestOps in class SelectionKeypublic SelectionKey interestOps(int ops)
interestOps in class SelectionKeypublic int readyOps()
readyOps in class SelectionKeypublic void readyOps(int ops)
Copyright © 2015. All rights reserved.