|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.nps.moves.dis.Pdu
edu.nps.moves.dis.SyntheticEnvironmentFamilyPdu
edu.nps.moves.dis.EnvironmentalProcessPdu
@Entity public class EnvironmentalProcessPdu
Section 5.3.11.1: Information about environmental effects and processes. This requires manual cleanup. the environmental record is variable, as is the padding. UNFINISHED Copyright (c) 2008-2010, MOVES Institute, Naval Postgraduate School. All rights reserved. This work is licensed under the BSD open source license, available at https://www.movesinstitute.org/licenses/bsd.html
Field Summary | |
---|---|
protected EntityID |
environementalProcessID
Environmental process ID |
protected java.util.List<Environment> |
environmentRecords
environemt records |
protected short |
environmentStatus
Environment status |
protected EntityType |
environmentType
Environment type |
long |
fk_environementalProcessID
|
long |
fk_environmentType
|
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 |
Fields inherited from class edu.nps.moves.dis.Pdu |
---|
exerciseID, padding, pduLength, pduType, protocolFamily, protocolVersion, timestamp |
Constructor Summary | |
---|---|
EnvironmentalProcessPdu()
Constructor |
Method Summary | |
---|---|
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)
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
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 long fk_environementalProcessID
public long fk_environmentType
Constructor Detail |
---|
public EnvironmentalProcessPdu()
Method Detail |
---|
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 writing
java.nio.BufferOverflowException
- if buff is too small
java.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 reading
java.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 object
equalsImpl
in class SyntheticEnvironmentFamilyPdu
obj
- the object to compare to
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |