public enum IdleState extends Enum<IdleState>
Enum Constant and Description |
---|
ALL_IDLE
No data was either received or sent for a while.
|
READER_IDLE
No data was received for a while.
|
WRITER_IDLE
No data was sent for a while.
|
Modifier and Type | Method and Description |
---|---|
static IdleState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IdleState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IdleState READER_IDLE
public static final IdleState WRITER_IDLE
public static final IdleState ALL_IDLE
public static IdleState[] values()
for (IdleState c : IdleState.values()) System.out.println(c);
public static IdleState 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 nullCopyright © 2008-2016 The Netty Project. All Rights Reserved.