Class ClientFunctionDispatcher
- java.lang.Object
-
- com.perforce.p4java.impl.mapbased.rpc.func.client.ClientFunctionDispatcher
-
public class ClientFunctionDispatcher extends java.lang.Object
Dispatch incoming client functions from the server. This may involve a great deal of work under the covers, including some extended series of calls back to the server and / or complex flow control management, or it may involve little more than returning what's already been seen.
-
-
Field Summary
Fields Modifier and Type Field Description protected RpcServer
server
static java.lang.String
TRACE_PREFIX
-
Constructor Summary
Constructors Constructor Description ClientFunctionDispatcher(RpcPacketDispatcher mainDispatcher, java.util.Properties props, RpcServer server)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RpcPacketDispatcher.RpcPacketDispatcherResult
dispatch(RpcPacketDispatcher.RpcPacketDispatcherMode dispatchMode, RpcFunctionSpec funcSpec, CommandEnv cmdEnv, java.util.Map<java.lang.String,java.lang.Object> resultsMap)
-
-
-
Field Detail
-
TRACE_PREFIX
public static final java.lang.String TRACE_PREFIX
- See Also:
- Constant Field Values
-
server
protected RpcServer server
-
-
Constructor Detail
-
ClientFunctionDispatcher
public ClientFunctionDispatcher(RpcPacketDispatcher mainDispatcher, java.util.Properties props, RpcServer server)
-
-
Method Detail
-
dispatch
public RpcPacketDispatcher.RpcPacketDispatcherResult dispatch(RpcPacketDispatcher.RpcPacketDispatcherMode dispatchMode, RpcFunctionSpec funcSpec, CommandEnv cmdEnv, java.util.Map<java.lang.String,java.lang.Object> resultsMap) throws ConnectionException
- Throws:
ConnectionException
-
-