Class RpcConnectionFlowControl
java.lang.Object
com.perforce.p4java.impl.mapbased.rpc.connection.RpcConnectionFlowControl
Provides Perforce flow control services for the Perforce server connection.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intLength in bytes of a flush command when marshaled.static final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionrespondToFlush1(RpcPacket flush1) Construct a flush2 response to the passed-in flush1 packet.respondToFlush1(Map<String, Object> resultsMap) Construct a flush2 response to the passed-in flush1 packet.
-
Field Details
-
TRACE_PREFIX
- See Also:
-
FLUSH_CMD_LENGTH
public static final int FLUSH_CMD_LENGTHLength in bytes of a flush command when marshaled. This is actually a fiction -- it's more like 50 -- but the conservative sizing gives us a little leeway when things are tight (see the C++ API for a discussion on this -- we're just copying their behavior...).- See Also:
-
-
Constructor Details
-
RpcConnectionFlowControl
protected RpcConnectionFlowControl()
-
-
Method Details
-
respondToFlush1
Construct a flush2 response to the passed-in flush1 packet.- Parameters:
flush1- flush1- Returns:
- RpcPacket
-
respondToFlush1
Construct a flush2 response to the passed-in flush1 packet.- Parameters:
resultsMap- resultsMap- Returns:
- RpcPacket
-