Package | Description |
---|---|
com.perforce.p4java.impl.mapbased.rpc.packet |
Modifier and Type | Method and Description |
---|---|
static RpcPacketPreamble |
RpcPacketPreamble.constructPreamble(ByteBuffer payload)
Calculate and construct a suitable preamble for the passed-in
payload buffer.
|
static RpcPacketPreamble |
RpcPacketPreamble.constructPreamble(int payloadLength)
Calculate and construct a suitable preamble for the passed-in
payload buffer length.
|
static RpcPacketPreamble |
RpcPacketPreamble.retrievePreamble(byte[] bytes)
Retrieve the preamble from raw bytes.
|
static RpcPacketPreamble |
RpcPacketPreamble.retrievePreamble(ByteBuffer payload)
Retrieve a preamble from the passed-in payload byte buffer.
|
Modifier and Type | Method and Description |
---|---|
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.
|
Copyright © 2017 Perforce Software. All Rights Reserved.