public class TransferOwnershipPdu extends EntityManagementFamilyPdu implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
protected EntityID |
originatingEntityID
ID of entity originating request
|
protected EntityID |
receivingEntityID
ID of entity receiving request
|
protected RecordSpecification |
recordSets |
protected int |
requestID
ID of request
|
protected RequiredReliabilityService |
requiredReliabilityService
required level of reliability service.
|
protected EntityID |
transferEntityID
The entity for which control is being requested to transfer
|
protected TransferControlTransferType |
transferType
type of transfer desired uid 224
|
exerciseID, length, pduType, protocolFamily, protocolVersion, timestamp
Constructor and Description |
---|
TransferOwnershipPdu()
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()
Returns the size of this serialized object in bytes
|
EntityID |
getOriginatingEntityID()
Getter for
originatingEntityID |
EntityID |
getReceivingEntityID()
Getter for
receivingEntityID |
RecordSpecification |
getRecordSets()
Getter for
recordSets |
int |
getRequestID()
Getter for
requestID |
RequiredReliabilityService |
getRequiredReliabilityService()
Getter for
requiredReliabilityService |
EntityID |
getTransferEntityID()
Getter for
transferEntityID |
TransferControlTransferType |
getTransferType()
Getter for
transferType |
void |
marshal(java.nio.ByteBuffer buff)
Packs an object into the ByteBuffer.
|
void |
marshal(java.io.DataOutputStream dos)
Serializes an object to a DataOutputStream.
|
TransferOwnershipPdu |
setOriginatingEntityID(EntityID pOriginatingEntityID)
Setter for
originatingEntityID |
TransferOwnershipPdu |
setReceivingEntityID(EntityID pReceivingEntityID)
Setter for
receivingEntityID |
TransferOwnershipPdu |
setRecordSets(RecordSpecification pRecordSets)
Setter for
recordSets |
TransferOwnershipPdu |
setRequestID(int pRequestID)
Setter for
requestID |
TransferOwnershipPdu |
setRequiredReliabilityService(RequiredReliabilityService pRequiredReliabilityService)
Setter for
requiredReliabilityService |
TransferOwnershipPdu |
setTransferEntityID(EntityID pTransferEntityID)
Setter for
transferEntityID |
TransferOwnershipPdu |
setTransferType(TransferControlTransferType pTransferType)
Setter for
transferType |
int |
unmarshal(java.nio.ByteBuffer buff)
Unpacks a Pdu from the underlying data.
|
int |
unmarshal(java.io.DataInputStream dis)
Unserializes an object from a DataInputStream.
|
getPadding, getPduStatus, setPadding, setPduStatus
getExerciseID, getLength, getPduType, getProtocolFamily, getProtocolVersion, getTimestamp, marshal, setExerciseID, setLength, setPduType, setProtocolFamily, setProtocolVersion, setTimestamp
protected EntityID originatingEntityID
protected EntityID receivingEntityID
protected int requestID
protected RequiredReliabilityService requiredReliabilityService
protected TransferControlTransferType transferType
protected EntityID transferEntityID
protected RecordSpecification recordSets
public int getMarshalledSize()
getMarshalledSize
in class EntityManagementFamilyPdu
public TransferOwnershipPdu setOriginatingEntityID(EntityID pOriginatingEntityID)
originatingEntityID
public EntityID getOriginatingEntityID()
originatingEntityID
public TransferOwnershipPdu setReceivingEntityID(EntityID pReceivingEntityID)
receivingEntityID
public EntityID getReceivingEntityID()
receivingEntityID
public TransferOwnershipPdu setRequestID(int pRequestID)
requestID
public int getRequestID()
requestID
public TransferOwnershipPdu setRequiredReliabilityService(RequiredReliabilityService pRequiredReliabilityService)
requiredReliabilityService
public RequiredReliabilityService getRequiredReliabilityService()
requiredReliabilityService
public TransferOwnershipPdu setTransferType(TransferControlTransferType pTransferType)
transferType
public TransferControlTransferType getTransferType()
transferType
public TransferOwnershipPdu setTransferEntityID(EntityID pTransferEntityID)
transferEntityID
public EntityID getTransferEntityID()
transferEntityID
public TransferOwnershipPdu setRecordSets(RecordSpecification pRecordSets)
recordSets
public RecordSpecification getRecordSets()
recordSets
public void marshal(java.io.DataOutputStream dos)
marshal
in class EntityManagementFamilyPdu
dos
- The DataOutputStreamDataOutputStream
public int unmarshal(java.io.DataInputStream dis)
unmarshal
in class EntityManagementFamilyPdu
dis
- The DataInputStreamDataInputStream
public void marshal(java.nio.ByteBuffer buff) throws java.lang.Exception
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 onlyjava.lang.Exception
- ByteBuffer-generated exceptionByteBuffer
public int unmarshal(java.nio.ByteBuffer buff) throws java.lang.Exception
unmarshal
in class EntityManagementFamilyPdu
buff
- The ByteBuffer at the position to begin readingjava.nio.BufferUnderflowException
- if buff is too smalljava.lang.Exception
- ByteBuffer-generated exceptionByteBuffer
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