public class EnvironmentalProcessPdu extends SyntheticEnvironmentFamilyPdu implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
protected EntityID |
environementalProcessID
Environmental process ID
|
protected java.util.List<Environment> |
environmentRecords
environemt records
|
protected short |
environmentStatus
Environment status
|
protected EntityType |
environmentType
Environment type
|
protected short |
modelType
model type
|
protected short |
numberOfEnvironmentRecords
number of environment records
|
protected int |
sequenceNumber
PDU sequence number for the environmentla process if pdu sequencing required
|
exerciseID, padding, pduLength, pduType, protocolFamily, protocolVersion, timestamp
Constructor and Description |
---|
EnvironmentalProcessPdu()
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 |
EntityID |
getEnvironementalProcessID() |
java.util.List<Environment> |
getEnvironmentRecords() |
short |
getEnvironmentStatus() |
EntityType |
getEnvironmentType() |
int |
getMarshalledSize() |
short |
getModelType() |
short |
getNumberOfEnvironmentRecords() |
int |
getSequenceNumber() |
void |
marshal(java.nio.ByteBuffer buff)
Packs a Pdu into the ByteBuffer.
|
void |
marshal(java.io.DataOutputStream dos) |
void |
setEnvironementalProcessID(EntityID pEnvironementalProcessID) |
void |
setEnvironmentRecords(java.util.List<Environment> pEnvironmentRecords) |
void |
setEnvironmentStatus(short pEnvironmentStatus) |
void |
setEnvironmentType(EntityType pEnvironmentType) |
void |
setModelType(short pModelType) |
void |
setNumberOfEnvironmentRecords(short pNumberOfEnvironmentRecords)
Note that setting this value will not change the marshalled value.
|
void |
setSequenceNumber(int pSequenceNumber) |
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 environementalProcessID
protected EntityType environmentType
protected short modelType
protected short environmentStatus
protected short numberOfEnvironmentRecords
protected int sequenceNumber
protected java.util.List<Environment> environmentRecords
public int getMarshalledSize()
getMarshalledSize
in class SyntheticEnvironmentFamilyPdu
public void setEnvironementalProcessID(EntityID pEnvironementalProcessID)
public EntityID getEnvironementalProcessID()
public void setEnvironmentType(EntityType pEnvironmentType)
public EntityType getEnvironmentType()
public void setModelType(short pModelType)
public short getModelType()
public void setEnvironmentStatus(short pEnvironmentStatus)
public short getEnvironmentStatus()
public short getNumberOfEnvironmentRecords()
public void setNumberOfEnvironmentRecords(short pNumberOfEnvironmentRecords)
public void setSequenceNumber(int pSequenceNumber)
public int getSequenceNumber()
public void setEnvironmentRecords(java.util.List<Environment> pEnvironmentRecords)
public java.util.List<Environment> getEnvironmentRecords()
public void marshal(java.io.DataOutputStream dos)
marshal
in class SyntheticEnvironmentFamilyPdu
public void unmarshal(java.io.DataInputStream dis)
unmarshal
in class SyntheticEnvironmentFamilyPdu
public void marshal(java.nio.ByteBuffer buff)
marshal
in class SyntheticEnvironmentFamilyPdu
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 SyntheticEnvironmentFamilyPdu
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 SyntheticEnvironmentFamilyPdu
public boolean equalsImpl(java.lang.Object obj)
Pdu
this
and the supplied objectequalsImpl
in class SyntheticEnvironmentFamilyPdu
obj
- the object to compare to