com.perforce.p4java.impl.mapbased.rpc.func.proto
Class ProtocolCommand
java.lang.Object
com.perforce.p4java.impl.mapbased.rpc.func.proto.ProtocolCommand
public class ProtocolCommand
- extends Object
Used to specify Perforce RPC protocol-related parameters
on the first call to a Perforce server on an RPC connection.
Much of this has been cribbed from the corresponding C++ API
protocol specs, and will probably need revisiting with experience.
In general, don't change values here unless you know what you're
doing, as they can have considerable effects on client- and server-side
behaviours.
|
Constructor Summary |
ProtocolCommand()
|
ProtocolCommand(int clientApiLevel,
boolean clientCmpFile,
int serverApiLevel,
int sendBufSize,
int recvBufSize,
boolean useTags)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RPC_ARGNAME_PROTOCOL_CMPFILE
public static final String RPC_ARGNAME_PROTOCOL_CMPFILE
- See Also:
- Constant Field Values
RPC_ARGNAME_PROTOCOL_CLIENT_API
public static final String RPC_ARGNAME_PROTOCOL_CLIENT_API
- See Also:
- Constant Field Values
RPC_ARGNAME_PROTOCOL_SERVER_API
public static final String RPC_ARGNAME_PROTOCOL_SERVER_API
- See Also:
- Constant Field Values
RPC_ARGNAME_PROTOCOL_SENDBUFSIZE
public static final String RPC_ARGNAME_PROTOCOL_SENDBUFSIZE
- See Also:
- Constant Field Values
RPC_ARGNAME_PROTOCOL_RECVBUFSIZE
public static final String RPC_ARGNAME_PROTOCOL_RECVBUFSIZE
- See Also:
- Constant Field Values
RPC_ARGNAME_PROTOCOL_ZTAGS
public static final String RPC_ARGNAME_PROTOCOL_ZTAGS
- See Also:
- Constant Field Values
ProtocolCommand
public ProtocolCommand()
ProtocolCommand
public ProtocolCommand(int clientApiLevel,
boolean clientCmpFile,
int serverApiLevel,
int sendBufSize,
int recvBufSize,
boolean useTags)
asMap
public Map<String,Object> asMap()
getClientApiLevel
public int getClientApiLevel()
setClientApiLevel
public void setClientApiLevel(int clientApiLevel)
isClientCmpFile
public boolean isClientCmpFile()
setClientCmpFile
public void setClientCmpFile(boolean clientCmpFile)
getServerApiLevel
public int getServerApiLevel()
setServerApiLevel
public void setServerApiLevel(int serverApiLevel)
getSendBufSize
public int getSendBufSize()
setSendBufSize
public void setSendBufSize(int sendBufSize)
getRecvBufSize
public int getRecvBufSize()
setRecvBufSize
public void setRecvBufSize(int recvBufSize)
isUseTags
public boolean isUseTags()
setUseTags
public void setUseTags(boolean useTags)
Copyright © 2011 Perforce Software. All Rights Reserved.