SelectionKey.OP_READ | SelectionKey.OP_WRITE ).
@see java.nio.channels.SelectableChannel#validOps()
@return Valid operations in bit-set.
Server-socket channels only support the accepting of new connections, so this method returns {@link SelectionKey#OP_ACCEPT}.
@return The valid-operation setSelectionKey.OP_CONNECT | SelectionKey.OP_READ | SelectionKey.OP_WRITE ).
@see java.nio.channels.SelectableChannel#validOps()
@return Valid operations in bit-set.
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |