public class EnvironmentalProcessPdu extends SyntheticEnvironmentFamilyPdu implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
protected ObjectIdentifier |
environementalProcessID
Environmental process ID
|
protected java.util.List<Environment> |
environmentRecords
environmemt records
|
protected EnvironmentalProcessEnvironmentStatus |
environmentStatus
Environment status uid 249
|
protected EntityType |
environmentType
Environment type
|
protected EnvironmentalProcessModelType |
modelType
model type uid 248
|
protected short |
numberOfEnvironmentRecords
number of environment records
|
protected short |
sequenceNumber
PDU sequence number for the environmental process if pdu sequencing required
|
exerciseID, length, 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 |
ObjectIdentifier |
getEnvironementalProcessID()
Getter for
environementalProcessID |
java.util.List<Environment> |
getEnvironmentRecords()
Getter for
environmentRecords |
EnvironmentalProcessEnvironmentStatus |
getEnvironmentStatus()
Setter for
environmentStatus |
EntityType |
getEnvironmentType()
Getter for
environmentType |
int |
getMarshalledSize()
Returns the size of this serialized object in bytes
|
EnvironmentalProcessModelType |
getModelType()
Getter for
modelType |
short |
getSequenceNumber()
Getter for
sequenceNumber |
void |
marshal(java.nio.ByteBuffer buff)
Packs an object into the ByteBuffer.
|
void |
marshal(java.io.DataOutputStream dos)
Serializes an object to a DataOutputStream.
|
EnvironmentalProcessPdu |
setEnvironementalProcessID(ObjectIdentifier pEnvironementalProcessID)
Setter for
environementalProcessID |
EnvironmentalProcessPdu |
setEnvironmentRecords(java.util.List<Environment> pEnvironmentRecords)
Setter for
environmentRecords |
EnvironmentalProcessPdu |
setEnvironmentStatus(EnvironmentalProcessEnvironmentStatus pEnvironmentStatus)
Setter for
environmentStatus |
EnvironmentalProcessPdu |
setEnvironmentType(EntityType pEnvironmentType)
Setter for
environmentType |
EnvironmentalProcessPdu |
setModelType(EnvironmentalProcessModelType pModelType)
Setter for
modelType |
EnvironmentalProcessPdu |
setSequenceNumber(short pSequenceNumber)
Setter for
sequenceNumber |
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 ObjectIdentifier environementalProcessID
protected EntityType environmentType
protected EnvironmentalProcessModelType modelType
protected EnvironmentalProcessEnvironmentStatus environmentStatus
protected short numberOfEnvironmentRecords
protected short sequenceNumber
protected java.util.List<Environment> environmentRecords
public int getMarshalledSize()
getMarshalledSize
in class SyntheticEnvironmentFamilyPdu
public EnvironmentalProcessPdu setEnvironementalProcessID(ObjectIdentifier pEnvironementalProcessID)
environementalProcessID
public ObjectIdentifier getEnvironementalProcessID()
environementalProcessID
public EnvironmentalProcessPdu setEnvironmentType(EntityType pEnvironmentType)
environmentType
public EntityType getEnvironmentType()
environmentType
public EnvironmentalProcessPdu setModelType(EnvironmentalProcessModelType pModelType)
modelType
public EnvironmentalProcessModelType getModelType()
modelType
public EnvironmentalProcessPdu setEnvironmentStatus(EnvironmentalProcessEnvironmentStatus pEnvironmentStatus)
environmentStatus
public EnvironmentalProcessEnvironmentStatus getEnvironmentStatus()
environmentStatus
public EnvironmentalProcessPdu setSequenceNumber(short pSequenceNumber)
sequenceNumber
public short getSequenceNumber()
sequenceNumber
public EnvironmentalProcessPdu setEnvironmentRecords(java.util.List<Environment> pEnvironmentRecords)
environmentRecords
public java.util.List<Environment> getEnvironmentRecords()
environmentRecords
public void marshal(java.io.DataOutputStream dos)
marshal
in class SyntheticEnvironmentFamilyPdu
dos
- The DataOutputStreamDataOutputStream
public int unmarshal(java.io.DataInputStream dis)
unmarshal
in class SyntheticEnvironmentFamilyPdu
dis
- The DataInputStreamDataInputStream
public void marshal(java.nio.ByteBuffer buff) throws java.lang.Exception
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 onlyjava.lang.Exception
- ByteBuffer-generated exceptionByteBuffer
public int unmarshal(java.nio.ByteBuffer buff) throws java.lang.Exception
unmarshal
in class SyntheticEnvironmentFamilyPdu
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 SyntheticEnvironmentFamilyPdu
public boolean equalsImpl(java.lang.Object obj)
Pdu
this
and the supplied objectequalsImpl
in class SyntheticEnvironmentFamilyPdu
obj
- the object to compare to