public enum NetCommand extends java.lang.Enum<NetCommand>
Enum Constant and Description |
---|
AGENT_EXECUTE |
CLIENT_PING |
DISCONNECT |
LOGIN |
LOGOUT |
NOP |
Modifier and Type | Method and Description |
---|---|
java.lang.Class |
getRequestArgType() |
java.lang.Class |
getResponseArgType() |
static NetCommand |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NetCommand[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NetCommand CLIENT_PING
public static final NetCommand DISCONNECT
public static final NetCommand NOP
public static final NetCommand LOGIN
public static final NetCommand LOGOUT
public static final NetCommand AGENT_EXECUTE
public static NetCommand[] values()
for (NetCommand c : NetCommand.values()) System.out.println(c);
public static NetCommand valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.Class getRequestArgType()
public java.lang.Class getResponseArgType()
Copyright © 2014 EsprIT-Systems. All Rights Reserved.