public class PCPOperation extends Object
Modifier and Type | Class and Description |
---|---|
static class |
PCPOperation.Chunk
The Chunk class is used to depict the various chunk flags used to
manage the segmentation of the XDRed flist data.
|
static class |
PCPOperation.PCPFlag
The PCPFlag class is used to depict the various transaction and
request/response flags that are sent over the wire.
|
Constructor and Description |
---|
PCPOperation() |
Modifier and Type | Method and Description |
---|---|
static int |
getPCPFlagRequest() |
static int |
getPCPFlagResponse() |
static String |
getSystemProperty(String key) |
int |
nextChunk(int chunk,
int avail,
int max)
The nextChunk method is used to determine what the chunking flag
for the current packet should be based on the previous chunk flag,
the amount of data available to be shipped and the maximum space
available in the packet.
|
public int nextChunk(int chunk, int avail, int max)
chunk
- Chunk flag in the previous packet (if any) for this op.avail
- The number of bytes of data remaining to be sent.max
- The amount of space left in this packet.public static int getPCPFlagResponse()
public static int getPCPFlagRequest()
Copyright © 2003, 2023, Oracle and/or its affiliates.