Modifier and Type | Method and Description |
---|---|
static RpcFunctionSpec |
RpcFunctionSpec.decode(String str)
Decode a RpcFunctionSpec from the passed-in string, assumed to be
in RPC wire form.
|
static RpcFunctionSpec |
RpcFunctionSpec.decode(String str,
boolean relaxedCheck)
A version of decode that handles the specialised case of
relaxed checking for USER commands (and user commands *only*).
|
static RpcFunctionSpec |
RpcFunctionSpec.decodeFromEndUserCmd(String str,
boolean relaxedCheck)
Decode a RpcFunctionSpec from a string passed in from the upper
levels of P4Java as an end-user command, e.g.
|
RpcFunctionSpec |
RpcFunctionMetadata.getName() |
static RpcFunctionSpec |
RpcFunctionSpec.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RpcFunctionSpec[] |
RpcFunctionSpec.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static RpcFunctionMetadata |
RpcFunction.getMetadata(RpcFunctionSpec name) |
void |
RpcFunctionMetadata.setName(RpcFunctionSpec name) |
Constructor and Description |
---|
RpcFunctionMetadata(RpcFunctionSpec name,
RpcFunctionType type,
String encoding) |
Modifier and Type | Method and Description |
---|---|
RpcPacketDispatcher.RpcPacketDispatcherResult |
ClientFunctionDispatcher.dispatch(RpcPacketDispatcher.RpcPacketDispatcherMode dispatchMode,
RpcFunctionSpec funcSpec,
CommandEnv cmdEnv,
Map<String,Object> resultsMap) |
boolean |
ClientProgressReport.report(IProgressCallback progressCallback,
int cmdCallBackKey,
RpcFunctionSpec funcSpec,
CommandEnv cmdEnv,
Map<String,Object> resultsMap)
Do a quick and dirty probabilistic progress report.
|
Modifier and Type | Method and Description |
---|---|
RpcPacketDispatcher.RpcPacketDispatcherResult |
ProtocolFunctionDispatcher.dispatch(RpcPacketDispatcher.RpcPacketDispatcherMode dispatchMode,
RpcFunctionSpec funcSpec,
CommandEnv cmdEnv,
Map<String,Object> resultsMap) |
void |
FlowControl.processFlushCommandFromServer(RpcConnection rpcConnection,
RpcFunctionSpec funcSpec,
Map<String,Object> resultsMap)
Given a map passed-in from the main dispatcher that represents
a flush command received from the Perforce server, respond
appropriately.
|
Modifier and Type | Method and Description |
---|---|
static RpcPacket |
RpcPacket.constructRpcPacket(RpcFunctionSpec funcName,
Map<String,Object> args,
ExternalEnv env)
Construct an RPC packet for a user command.
|
static RpcPacket |
RpcPacket.constructRpcPacket(RpcFunctionSpec funcName,
String realName,
String[] args,
ExternalEnv env)
Construct an RPC packet for a user command.
|
Copyright © 2017 Perforce Software. All Rights Reserved.