Enum ClientMessage.ClientMessageType
- java.lang.Object
-
- java.lang.Enum<ClientMessage.ClientMessageType>
-
- com.perforce.p4java.impl.mapbased.rpc.func.client.ClientMessage.ClientMessageType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ClientMessage.ClientMessageType>
- Enclosing class:
- ClientMessage
public static enum ClientMessage.ClientMessageType extends java.lang.Enum<ClientMessage.ClientMessageType>
Where the message originated, or which part of the command chain it refers to.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CLIENT
CONNECTION
SERVER
UNKNOWN
USAGE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ClientMessage.ClientMessageType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ClientMessage.ClientMessageType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNKNOWN
public static final ClientMessage.ClientMessageType UNKNOWN
-
USAGE
public static final ClientMessage.ClientMessageType USAGE
-
CONNECTION
public static final ClientMessage.ClientMessageType CONNECTION
-
CLIENT
public static final ClientMessage.ClientMessageType CLIENT
-
SERVER
public static final ClientMessage.ClientMessageType SERVER
-
-
Method Detail
-
values
public static ClientMessage.ClientMessageType[] 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 (ClientMessage.ClientMessageType c : ClientMessage.ClientMessageType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ClientMessage.ClientMessageType 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
-
-