public class ClientSendFile
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
TRACE_PREFIX |
| Modifier | Constructor and Description |
|---|---|
protected |
ClientSendFile(java.util.Properties props)
Create a new rpc file sender
|
| Modifier and Type | Method and Description |
|---|---|
protected RpcPacketDispatcher.RpcPacketDispatcherResult |
sendFile(RpcConnection rpcConnection,
CommandEnv cmdEnv,
java.util.Map<java.lang.String,java.lang.Object> resultsMap)
Send a file's contents back to the Perforce server.
|
public static final java.lang.String TRACE_PREFIX
protected ClientSendFile(java.util.Properties props)
props - propsprotected RpcPacketDispatcher.RpcPacketDispatcherResult sendFile(RpcConnection rpcConnection, CommandEnv cmdEnv, java.util.Map<java.lang.String,java.lang.Object> resultsMap) throws ConnectionException
FIXME: digest stuff is not yet implemented -- HR. FIXME: error handling is typically nearly non-existent -- HR. FIXME: charset issues -- HR. FIXME: rework to use proper flush protocol implementation -- HR.
rpcConnection - rpcConnectioncmdEnv - cmdEnvresultsMap - resultsMapConnectionException - on error