|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<RpcFunctionType>
com.perforce.p4java.impl.mapbased.rpc.func.RpcFunctionType
public enum RpcFunctionType
How we classify a Perforce RPC function for dispatch, encoding, and other processing.
| Enum Constant Summary | |
|---|---|
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. |
|
| Method Summary | |
|---|---|
String |
getEncodingPrefix()
Get the string prefix used by this function type when encoded for the wire. |
String |
getTypeNamePrefix()
Return the name prefix (e.g. |
static RpcFunctionType |
valueOf(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. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
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
| Method Detail |
|---|
public static RpcFunctionType[] values()
for (RpcFunctionType c : RpcFunctionType.values()) System.out.println(c);
public static RpcFunctionType valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic String getEncodingPrefix()
public String getTypeNamePrefix()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||