public static enum CfgHello.Behavior extends Enum<CfgHello.Behavior>
Enum Constant and Description |
---|
EAGER
Send eagerly; that is, send the HELLO as soon as the
connection is made.
|
LAZY
Send lazily; that is, wait for the HELLO from the controller
before sending ours to the controller.
|
Modifier and Type | Method and Description |
---|---|
static CfgHello.Behavior |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CfgHello.Behavior[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CfgHello.Behavior EAGER
public static final CfgHello.Behavior LAZY
public static CfgHello.Behavior[] values()
for (CfgHello.Behavior c : CfgHello.Behavior.values()) System.out.println(c);
public static CfgHello.Behavior 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 © 2015. All Rights Reserved.