com.perforce.p4java.impl.mapbased.rpc.func.client
Class ClientFunctionDispatcher

java.lang.Object
  extended by com.perforce.p4java.impl.mapbased.rpc.func.client.ClientFunctionDispatcher

public class ClientFunctionDispatcher
extends 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
protected  RpcServer server
           
static String TRACE_PREFIX
           
 
Constructor Summary
ClientFunctionDispatcher(RpcPacketDispatcher mainDispatcher, Properties props, RpcServer server)
           
 
Method Summary
 RpcPacketDispatcher.RpcPacketDispatcherResult dispatch(RpcPacketDispatcher.RpcPacketDispatcherMode dispatchMode, RpcFunctionSpec funcSpec, CommandEnv cmdEnv, Map<String,Object> resultsMap)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TRACE_PREFIX

public static final String TRACE_PREFIX
See Also:
Constant Field Values

server

protected RpcServer server
Constructor Detail

ClientFunctionDispatcher

public ClientFunctionDispatcher(RpcPacketDispatcher mainDispatcher,
                                Properties props,
                                RpcServer server)
Method Detail

dispatch

public RpcPacketDispatcher.RpcPacketDispatcherResult dispatch(RpcPacketDispatcher.RpcPacketDispatcherMode dispatchMode,
                                                              RpcFunctionSpec funcSpec,
                                                              CommandEnv cmdEnv,
                                                              Map<String,Object> resultsMap)
                                                       throws ConnectionException
Throws:
ConnectionException


Copyright © 2015 Perforce Software. All Rights Reserved.