public static enum CopycatTransport.Mode extends Enum<CopycatTransport.Mode>
| Enum Constant and Description |
|---|
CLIENT
Signifies transport for client -> server interaction.
|
SERVER
Signified transport for server -> server interaction.
|
| Modifier and Type | Method and Description |
|---|---|
static CopycatTransport.Mode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CopycatTransport.Mode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CopycatTransport.Mode CLIENT
public static final CopycatTransport.Mode SERVER
public static CopycatTransport.Mode[] values()
for (CopycatTransport.Mode c : CopycatTransport.Mode.values()) System.out.println(c);
public static CopycatTransport.Mode 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 © 2016. All rights reserved.