public enum RpcFunctionType extends java.lang.Enum<RpcFunctionType>
Enum Constant and Description |
---|
CLIENT
"Simple" client functions, e.g.
|
CLIENT_DM
More complex client functions that will probably cause
duplex back-and-forth messaging between client and server.
|
NONE
Non-function; mainly serves as an error or guard.
|
PROTOCOL
Protocol meta functions, e.g.
|
SERVER
Server functions to be processed by the Perforce server.
|
USER
The normal end-user-initiated perforce functions, e.g.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getEncodingPrefix() |
java.lang.String |
getTypeNamePrefix() |
static RpcFunctionType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RpcFunctionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RpcFunctionType CLIENT
public static final RpcFunctionType CLIENT_DM
public static final RpcFunctionType USER
public static final RpcFunctionType SERVER
public static final RpcFunctionType PROTOCOL
public static final RpcFunctionType NONE
public static RpcFunctionType[] values()
for (RpcFunctionType c : RpcFunctionType.values()) System.out.println(c);
public static RpcFunctionType 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.String getEncodingPrefix()
public java.lang.String getTypeNamePrefix()