public enum IdleStatus extends Enum<IdleStatus>
IoSession.
There are three types of idleness:
READ_IDLE - No data is coming from the remote peer.WRITE_IDLE - Session is not writing any data.| Enum Constant and Description |
|---|
READ_IDLE |
WRITE_IDLE |
| Modifier and Type | Method and Description |
|---|---|
String |
toString()
Returns the string representation of this status.
|
static IdleStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IdleStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IdleStatus READ_IDLE
public static final IdleStatus WRITE_IDLE
public static IdleStatus[] values()
for (IdleStatus c : IdleStatus.values()) System.out.println(c);
public static IdleStatus valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant
with the specified nameNullPointerException - if the argument is nullpublic String toString()
toString in class Enum<IdleStatus>Copyright © 2009–2013 Apache MINA Project. All rights reserved.