public static enum NettyServerCnxn.HandshakeState extends Enum<NettyServerCnxn.HandshakeState>
Modifier and Type | Method and Description |
---|---|
static NettyServerCnxn.HandshakeState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NettyServerCnxn.HandshakeState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NettyServerCnxn.HandshakeState NONE
public static final NettyServerCnxn.HandshakeState STARTED
public static final NettyServerCnxn.HandshakeState FINISHED
public static NettyServerCnxn.HandshakeState[] values()
for (NettyServerCnxn.HandshakeState c : NettyServerCnxn.HandshakeState.values()) System.out.println(c);
public static NettyServerCnxn.HandshakeState 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–2023 The Apache Software Foundation. All rights reserved.