public enum ProtocolDetectionState extends Enum<ProtocolDetectionState>
Enum Constant and Description |
---|
DETECTED
Protocol was detected,
|
INVALID
The data was invalid.
|
NEEDS_MORE_DATA
Need more data to detect the protocol.
|
Modifier and Type | Method and Description |
---|---|
static ProtocolDetectionState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ProtocolDetectionState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProtocolDetectionState NEEDS_MORE_DATA
public static final ProtocolDetectionState INVALID
public static final ProtocolDetectionState DETECTED
public static ProtocolDetectionState[] values()
for (ProtocolDetectionState c : ProtocolDetectionState.values()) System.out.println(c);
public static ProtocolDetectionState 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–2019 The Netty Project. All rights reserved.