public final class SelectionKeyUtils
extends java.lang.Object
| Modifier and Type | Method | Description |
|---|---|---|
static void |
removeConnectInterested(NioChannel channel) |
|
static void |
removeWriteInterested(NioChannel channel) |
|
static void |
setAcceptInterested(NioServerSocketChannel channel) |
|
static void |
setConnectAndReadInterested(NioChannel channel) |
|
static void |
setWriteInterested(NioChannel channel) |
public static void setWriteInterested(NioChannel channel) throws java.nio.channels.CancelledKeyException
java.nio.channels.CancelledKeyExceptionpublic static void removeWriteInterested(NioChannel channel) throws java.nio.channels.CancelledKeyException
java.nio.channels.CancelledKeyExceptionpublic static void setConnectAndReadInterested(NioChannel channel) throws java.nio.channels.CancelledKeyException
java.nio.channels.CancelledKeyExceptionpublic static void removeConnectInterested(NioChannel channel) throws java.nio.channels.CancelledKeyException
java.nio.channels.CancelledKeyExceptionpublic static void setAcceptInterested(NioServerSocketChannel channel)