Package | Description |
---|---|
com.perforce.p4java.impl.mapbased.rpc.connection | |
com.perforce.p4java.impl.mapbased.rpc.packet | |
com.perforce.p4java.impl.mapbased.rpc.stream |
Modifier and Type | Method and Description |
---|---|
abstract RpcPacket |
RpcConnection.getRpcPacket()
Get the next RPC packet from the receive queue.
|
abstract RpcPacket |
RpcConnection.getRpcPacket(RpcPacketFieldRule fieldRule,
IFilterCallback filterCallback)
Get the next RPC packet from the receive queue with an optional rule to
handle the RPC packet fields.
|
RpcPacket |
RpcConnectionFlowControl.respondToFlush1(Map<String,Object> resultsMap)
Construct a flush2 response to the passed-in flush1 packet.
|
RpcPacket |
RpcConnectionFlowControl.respondToFlush1(RpcPacket flush1)
Construct a flush2 response to the passed-in flush1 packet.
|
Modifier and Type | Method and Description |
---|---|
abstract long |
RpcConnection.putRpcPacket(RpcPacket rpcPacket)
Put a Perforce RPC packet onto the output stream.
|
abstract long |
RpcConnection.putRpcPackets(RpcPacket[] rpcPackets)
Put an array of RPC packets.
|
RpcPacket |
RpcConnectionFlowControl.respondToFlush1(RpcPacket flush1)
Construct a flush2 response to the passed-in flush1 packet.
|
Modifier and Type | Method and Description |
---|---|
static RpcPacket |
RpcPacket.constructRpcPacket(RpcFunctionSpec funcName,
Map<String,Object> args,
ExternalEnv env)
Construct an RPC packet for a user command.
|
static RpcPacket |
RpcPacket.constructRpcPacket(RpcFunctionSpec funcName,
String realName,
String[] args,
ExternalEnv env)
Construct an RPC packet for a user command.
|
static RpcPacket |
RpcPacket.constructRpcPacket(RpcPacketPreamble preamble,
byte[] bytes,
boolean isUnicodeServer,
Charset charset)
Construct an RPC packet from the passed-in preamble, bytes, and charset.
|
static RpcPacket |
RpcPacket.constructRpcPacket(RpcPacketPreamble preamble,
byte[] bytes,
boolean isUnicodeServer,
Charset charset,
RpcPacketFieldRule fieldRule,
IFilterCallback filterCallback)
Construct an RPC packet from the passed-in preamble, bytes, charset and fieldRule.
|
static RpcPacket |
RpcPacket.constructRpcPacket(String funcName,
Map<String,Object> args,
ExternalEnv env)
Construct an RPC packet for a user command.
|
Modifier and Type | Method and Description |
---|---|
RpcPacket |
RpcStreamConnection.getRpcPacket()
Get a Perforce RPC packet from the underlying stream.
|
RpcPacket |
RpcStreamConnection.getRpcPacket(RpcPacketFieldRule fieldRule,
IFilterCallback filterCallback)
Get a Perforce RPC packet from the underlying stream with an optional
rule to handle the RPC packet fields.
|
Modifier and Type | Method and Description |
---|---|
long |
RpcStreamConnection.putRpcPacket(RpcPacket packet)
Put a Perforce RPC packet onto the output stream.
|
long |
RpcStreamConnection.putRpcPackets(RpcPacket[] packets) |
Copyright © 2017 Perforce Software. All Rights Reserved.