public class ResponseCoPdu extends ConnectionOrientedPdu implements Fragmentable
| Modifier and Type | Field and Description |
|---|---|
static int |
RESPONSE_TYPE |
AUTH_LENGTH_OFFSET, CALL_ID_OFFSET, callIdCounter, CONNECTION_ORIENTED_MAJOR_VERSION, DATA_REPRESENTATION_OFFSET, FLAGS_OFFSET, FRAG_LENGTH_OFFSET, HEADER_LENGTH, MAJOR_VERSION_OFFSET, MINOR_VERSION_OFFSET, MUST_RECEIVE_FRAGMENT_SIZE, PFC_CONC_MPX, PFC_DID_NOT_EXECUTE, PFC_FIRST_FRAG, PFC_LAST_FRAG, PFC_MAYBE, PFC_OBJECT_UUID, PFC_PENDING_CANCEL, TYPE_OFFSET| Constructor and Description |
|---|
ResponseCoPdu() |
| Modifier and Type | Method and Description |
|---|---|
Fragmentable |
assemble(Iterator fragments) |
Object |
clone() |
Iterator |
fragment(int size) |
int |
getAllocationHint() |
int |
getCancelCount() |
int |
getContextId() |
byte[] |
getStub() |
int |
getType() |
protected void |
readBody(NetworkDataRepresentation ndr) |
protected void |
readPdu(NetworkDataRepresentation ndr) |
protected void |
readStub(NetworkDataRepresentation ndr) |
void |
setAllocationHint(int allocationHint) |
void |
setCancelCount(int cancelCount) |
void |
setContextId(int contextId) |
void |
setStub(byte[] stub) |
protected void |
writeBody(NetworkDataRepresentation ndr) |
protected void |
writePdu(NetworkDataRepresentation ndr) |
protected void |
writeStub(NetworkDataRepresentation ndr) |
decode, encode, getAuthenticatorLength, getCallId, getFlag, getFlags, getFormat, getFragmentLength, getMajorVersion, getMinorVersion, readHeader, setAuthenticatorLength, setCallId, setFlag, setFlags, setFormat, setFragmentLength, setMinorVersion, writeHeaderpublic static final int RESPONSE_TYPE
public int getType()
getType in interface ProtocolDataUnitgetType in class ConnectionOrientedPdupublic byte[] getStub()
public void setStub(byte[] stub)
public int getAllocationHint()
public void setAllocationHint(int allocationHint)
public int getContextId()
public void setContextId(int contextId)
public int getCancelCount()
public void setCancelCount(int cancelCount)
protected void readPdu(NetworkDataRepresentation ndr)
readPdu in class ConnectionOrientedPduprotected void writePdu(NetworkDataRepresentation ndr)
writePdu in class ConnectionOrientedPduprotected void readBody(NetworkDataRepresentation ndr)
readBody in class ConnectionOrientedPduprotected void writeBody(NetworkDataRepresentation ndr)
writeBody in class ConnectionOrientedPduprotected void readStub(NetworkDataRepresentation ndr)
protected void writeStub(NetworkDataRepresentation ndr)
public Iterator fragment(int size)
fragment in interface Fragmentablepublic Fragmentable assemble(Iterator fragments) throws IOException
assemble in interface FragmentableIOExceptionpublic Object clone()
clone in interface Fragmentableclone in class ObjectCopyright © 2017 LSST. All rights reserved.