public class TransferControlRequestPdu extends EntityManagementFamilyPdu implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
protected short |
numberOfRecordSets
number of record sets to transfer
|
protected EntityID |
orginatingEntityID
ID of entity originating request
|
protected EntityID |
recevingEntityID
ID of entity receiving request
|
protected java.util.List<RecordSet> |
recordSets
^^^This is wrong--the RecordSet class needs more work
|
protected long |
requestID
ID ofrequest
|
protected short |
requiredReliabilityService
required level of reliabliity service.
|
protected short |
tranferType
type of transfer desired
|
protected EntityID |
transferEntityID
The entity for which control is being requested to transfer
|
exerciseID, padding, pduLength, pduType, protocolFamily, protocolVersion, timestamp
Constructor and Description |
---|
TransferControlRequestPdu()
Constructor
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
boolean |
equalsImpl(java.lang.Object obj)
Compare all fields that contribute to the state, ignoring
transient and static fields, for
this and the supplied object |
int |
getMarshalledSize() |
short |
getNumberOfRecordSets() |
EntityID |
getOrginatingEntityID() |
EntityID |
getRecevingEntityID() |
java.util.List<RecordSet> |
getRecordSets() |
long |
getRequestID() |
short |
getRequiredReliabilityService() |
short |
getTranferType() |
EntityID |
getTransferEntityID() |
void |
marshal(java.nio.ByteBuffer buff)
Packs a Pdu into the ByteBuffer.
|
void |
marshal(java.io.DataOutputStream dos) |
void |
setNumberOfRecordSets(short pNumberOfRecordSets)
Note that setting this value will not change the marshalled value.
|
void |
setOrginatingEntityID(EntityID pOrginatingEntityID) |
void |
setRecevingEntityID(EntityID pRecevingEntityID) |
void |
setRecordSets(java.util.List<RecordSet> pRecordSets) |
void |
setRequestID(long pRequestID) |
void |
setRequiredReliabilityService(short pRequiredReliabilityService) |
void |
setTranferType(short pTranferType) |
void |
setTransferEntityID(EntityID pTransferEntityID) |
void |
unmarshal(java.nio.ByteBuffer buff)
Unpacks a Pdu from the underlying data.
|
void |
unmarshal(java.io.DataInputStream dis) |
getExerciseID, getLength, getPadding, getPduLength, getPduType, getPduTypeEnum, getProtocolFamily, getProtocolVersion, getTimestamp, marshal, marshalWithDisAbsoluteTimestamp, marshalWithDisAbsoluteTimestamp, marshalWithDisRelativeTimestamp, marshalWithDisRelativeTimestamp, marshalWithNpsTimestamp, marshalWithNpsTimestamp, marshalWithUnixTimestamp, marshalWithUnixTimestamp, readUnsignedInt, readUnsignedInt, setExerciseID, setPadding, setPduLength, setPduType, setProtocolFamily, setProtocolVersion, setTimestamp
protected EntityID orginatingEntityID
protected EntityID recevingEntityID
protected long requestID
protected short requiredReliabilityService
protected short tranferType
protected EntityID transferEntityID
protected short numberOfRecordSets
protected java.util.List<RecordSet> recordSets
public int getMarshalledSize()
getMarshalledSize
in class EntityManagementFamilyPdu
public void setOrginatingEntityID(EntityID pOrginatingEntityID)
public EntityID getOrginatingEntityID()
public void setRecevingEntityID(EntityID pRecevingEntityID)
public EntityID getRecevingEntityID()
public void setRequestID(long pRequestID)
public long getRequestID()
public void setRequiredReliabilityService(short pRequiredReliabilityService)
public short getRequiredReliabilityService()
public void setTranferType(short pTranferType)
public short getTranferType()
public void setTransferEntityID(EntityID pTransferEntityID)
public EntityID getTransferEntityID()
public short getNumberOfRecordSets()
public void setNumberOfRecordSets(short pNumberOfRecordSets)
public void setRecordSets(java.util.List<RecordSet> pRecordSets)
public java.util.List<RecordSet> getRecordSets()
public void marshal(java.io.DataOutputStream dos)
marshal
in class EntityManagementFamilyPdu
public void unmarshal(java.io.DataInputStream dis)
unmarshal
in class EntityManagementFamilyPdu
public void marshal(java.nio.ByteBuffer buff)
marshal
in class EntityManagementFamilyPdu
buff
- The ByteBuffer at the position to begin writingjava.nio.BufferOverflowException
- if buff is too smalljava.nio.ReadOnlyBufferException
- if buff is read onlyByteBuffer
public void unmarshal(java.nio.ByteBuffer buff)
unmarshal
in class EntityManagementFamilyPdu
buff
- The ByteBuffer at the position to begin readingjava.nio.BufferUnderflowException
- if buff is too smallByteBuffer
public boolean equals(java.lang.Object obj)
equals
in class EntityManagementFamilyPdu
public boolean equalsImpl(java.lang.Object obj)
Pdu
this
and the supplied objectequalsImpl
in class EntityManagementFamilyPdu
obj
- the object to compare to