public class InformationOperationsReportPdu extends InformationOperationsFamilyPdu implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
protected EntityID |
ioAttackerID |
protected EntityID |
ioPrimaryTargetID |
protected java.util.List<IORecord> |
ioRecords |
protected IOReportIOReportType |
ioReportType
request ID uid 289
|
protected IOActionIOSimulationSource |
ioSimSource
uid 286
|
protected short |
numberOfIORecords |
protected byte |
padding1 |
protected short |
padding2 |
protected short |
padding3 |
originatingSimID
exerciseID, length, pduType, protocolFamily, protocolVersion, timestamp
Constructor and Description |
---|
InformationOperationsReportPdu()
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 |
getIoAttackerID()
Getter for
ioAttackerID |
EntityID |
getIoPrimaryTargetID()
Getter for
ioPrimaryTargetID |
java.util.List<IORecord> |
getIoRecords()
Getter for
ioRecords |
IOReportIOReportType |
getIoReportType()
Getter for
ioReportType |
IOActionIOSimulationSource |
getIoSimSource()
Getter for
ioSimSource |
int |
getMarshalledSize()
Returns the size of this serialized object in bytes
|
byte |
getPadding1()
Getter for
padding1 |
short |
getPadding2()
Getter for
padding2 |
short |
getPadding3()
Getter for
padding3 |
void |
marshal(java.nio.ByteBuffer buff)
Packs an object into the ByteBuffer.
|
void |
marshal(java.io.DataOutputStream dos)
Serializes an object to a DataOutputStream.
|
InformationOperationsReportPdu |
setIoAttackerID(EntityID pIoAttackerID)
Setter for
ioAttackerID |
InformationOperationsReportPdu |
setIoPrimaryTargetID(EntityID pIoPrimaryTargetID)
Setter for
ioPrimaryTargetID |
InformationOperationsReportPdu |
setIoRecords(java.util.List<IORecord> pIoRecords)
Setter for
ioRecords |
InformationOperationsReportPdu |
setIoReportType(IOReportIOReportType pIoReportType)
Setter for
ioReportType |
InformationOperationsReportPdu |
setIoSimSource(IOActionIOSimulationSource pIoSimSource)
Setter for
ioSimSource |
InformationOperationsReportPdu |
setPadding1(byte pPadding1)
Setter for
padding1 |
InformationOperationsReportPdu |
setPadding2(short pPadding2)
Setter for
padding2 |
InformationOperationsReportPdu |
setPadding3(short pPadding3)
Setter for
padding3 |
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.
|
getOriginatingSimID, setOriginatingSimID
getPadding, getPduStatus, setPadding, setPduStatus
getExerciseID, getLength, getPduType, getProtocolFamily, getProtocolVersion, getTimestamp, marshal, setExerciseID, setLength, setPduType, setProtocolFamily, setProtocolVersion, setTimestamp
protected IOActionIOSimulationSource ioSimSource
protected IOReportIOReportType ioReportType
protected byte padding1
protected EntityID ioAttackerID
protected EntityID ioPrimaryTargetID
protected short padding2
protected short padding3
protected short numberOfIORecords
protected java.util.List<IORecord> ioRecords
public InformationOperationsReportPdu()
public int getMarshalledSize()
getMarshalledSize
in class InformationOperationsFamilyPdu
public InformationOperationsReportPdu setIoSimSource(IOActionIOSimulationSource pIoSimSource)
ioSimSource
public IOActionIOSimulationSource getIoSimSource()
ioSimSource
public InformationOperationsReportPdu setIoReportType(IOReportIOReportType pIoReportType)
ioReportType
public IOReportIOReportType getIoReportType()
ioReportType
public InformationOperationsReportPdu setPadding1(byte pPadding1)
padding1
public byte getPadding1()
padding1
public InformationOperationsReportPdu setIoAttackerID(EntityID pIoAttackerID)
ioAttackerID
public EntityID getIoAttackerID()
ioAttackerID
public InformationOperationsReportPdu setIoPrimaryTargetID(EntityID pIoPrimaryTargetID)
ioPrimaryTargetID
public EntityID getIoPrimaryTargetID()
ioPrimaryTargetID
public InformationOperationsReportPdu setPadding2(short pPadding2)
padding2
public short getPadding2()
padding2
public InformationOperationsReportPdu setPadding3(short pPadding3)
padding3
public short getPadding3()
padding3
public InformationOperationsReportPdu setIoRecords(java.util.List<IORecord> pIoRecords)
ioRecords
public void marshal(java.io.DataOutputStream dos)
marshal
in class InformationOperationsFamilyPdu
dos
- The DataOutputStreamDataOutputStream
public int unmarshal(java.io.DataInputStream dis)
unmarshal
in class InformationOperationsFamilyPdu
dis
- The DataInputStreamDataInputStream
public void marshal(java.nio.ByteBuffer buff) throws java.lang.Exception
marshal
in class InformationOperationsFamilyPdu
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 InformationOperationsFamilyPdu
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 InformationOperationsFamilyPdu
public boolean equalsImpl(java.lang.Object obj)
Pdu
this
and the supplied objectequalsImpl
in class InformationOperationsFamilyPdu
obj
- the object to compare to