public final class NioIoOps extends Object implements IoOps
IoOps for
that is used by NioIoHandler and so for NIO based transports.| Modifier and Type | Field and Description |
|---|---|
static NioIoOps |
ACCEPT
Interested in IO events that should be handled by accepting new connections
|
static NioIoOps |
CONNECT
Interested in IO events which should be handled by finish pending connect operations
|
static NioIoOps |
NONE
Interested in NO IO events.
|
static NioIoOps |
READ
Interested in IO events which should be handled by reading data.
|
static NioIoOps |
READ_AND_ACCEPT
Interested in IO events which should be either handled by reading or accepting.
|
static NioIoOps |
READ_AND_WRITE
Interested in IO events which should be either handled by reading or writing.
|
static NioIoOps |
WRITE
Interested in IO events which tell that the underlying channel is writable again.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
contains(NioIoOps ops)
|
boolean |
equals(Object o) |
int |
hashCode() |
boolean |
isIncludedIn(int ops)
|
boolean |
isNotIncludedIn(int ops)
|
int |
value()
Returns the underlying ops value of the
NioIoOps. |
static NioIoOps |
valueOf(int value)
Returns a
NioIoOps for the given value. |
NioIoOps |
with(NioIoOps ops)
|
NioIoOps |
without(NioIoOps ops)
|
public static final NioIoOps NONE
public static final NioIoOps ACCEPT
public static final NioIoOps CONNECT
public static final NioIoOps WRITE
public static final NioIoOps READ
public static final NioIoOps READ_AND_ACCEPT
public static final NioIoOps READ_AND_WRITE
public boolean contains(NioIoOps ops)
ops - the ops.true if a combination of the given.public int value()
NioIoOps.public static NioIoOps valueOf(int value)
NioIoOps for the given value.value - the valueNioIoOps.public boolean isIncludedIn(int ops)
ops - the ops to check.true if included, false otherwise.public boolean isNotIncludedIn(int ops)
ops - the ops to check.true if not included, false otherwise.Copyright © 2008–2025 The Netty Project. All rights reserved.