Package io.aether.api.clientserverapi
Enum ClientActivityType
- java.lang.Object
-
- java.lang.Enum<ClientActivityType>
-
- io.aether.api.clientserverapi.ClientActivityType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<ClientActivityType>
public enum ClientActivityType extends java.lang.Enum<ClientActivityType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description API_CALLCOMMAND_EXECCONNECTDISCONNECTMESSAGE_RECEIVEMESSAGE_SEND
-
Field Summary
Fields Modifier and Type Field Description static io.aether.net.fastMeta.FastMetaType<ClientActivityType>META
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ClientActivityTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static ClientActivityType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CONNECT
public static final ClientActivityType CONNECT
-
DISCONNECT
public static final ClientActivityType DISCONNECT
-
MESSAGE_SEND
public static final ClientActivityType MESSAGE_SEND
-
MESSAGE_RECEIVE
public static final ClientActivityType MESSAGE_RECEIVE
-
COMMAND_EXEC
public static final ClientActivityType COMMAND_EXEC
-
API_CALL
public static final ClientActivityType API_CALL
-
-
Field Detail
-
META
public static final io.aether.net.fastMeta.FastMetaType<ClientActivityType> META
-
-
Method Detail
-
values
public static ClientActivityType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ClientActivityType c : ClientActivityType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ClientActivityType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-