public class IOCommsNodeRecord extends IORecord implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
protected CommunicationsNodeID |
commsNodeId |
protected IOCommsNodeRecordCommsNodeType |
commsNodeType
uid 294
|
protected byte |
padding |
protected short |
recordLength |
protected VariableRecordTypes |
recordType
uid 66
|
Constructor and Description |
---|
IOCommsNodeRecord()
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 |
CommunicationsNodeID |
getCommsNodeId()
Getter for
commsNodeId |
IOCommsNodeRecordCommsNodeType |
getCommsNodeType()
Getter for
commsNodeType |
int |
getMarshalledSize()
Returns the size of this serialized object in bytes
|
byte |
getPadding()
Getter for
padding |
short |
getRecordLength()
Getter for
recordLength |
VariableRecordTypes |
getRecordType()
Getter for
recordType |
void |
marshal(java.nio.ByteBuffer buff)
Packs an object into the ByteBuffer.
|
void |
marshal(java.io.DataOutputStream dos)
Serializes an object to a DataOutputStream.
|
IOCommsNodeRecord |
setCommsNodeId(CommunicationsNodeID pCommsNodeId)
Setter for
commsNodeId |
IOCommsNodeRecord |
setCommsNodeType(IOCommsNodeRecordCommsNodeType pCommsNodeType)
Setter for
commsNodeType |
IOCommsNodeRecord |
setPadding(byte pPadding)
Setter for
padding |
IOCommsNodeRecord |
setRecordLength(short pRecordLength)
Setter for
recordLength |
IOCommsNodeRecord |
setRecordType(VariableRecordTypes pRecordType)
Setter for
recordType |
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.
|
protected VariableRecordTypes recordType
protected short recordLength
protected IOCommsNodeRecordCommsNodeType commsNodeType
protected byte padding
protected CommunicationsNodeID commsNodeId
public int getMarshalledSize()
getMarshalledSize
in class IORecord
public IOCommsNodeRecord setRecordType(VariableRecordTypes pRecordType)
recordType
public VariableRecordTypes getRecordType()
recordType
public IOCommsNodeRecord setRecordLength(short pRecordLength)
recordLength
public short getRecordLength()
recordLength
public IOCommsNodeRecord setCommsNodeType(IOCommsNodeRecordCommsNodeType pCommsNodeType)
commsNodeType
public IOCommsNodeRecordCommsNodeType getCommsNodeType()
commsNodeType
public IOCommsNodeRecord setPadding(byte pPadding)
padding
public byte getPadding()
padding
public IOCommsNodeRecord setCommsNodeId(CommunicationsNodeID pCommsNodeId)
commsNodeId
public CommunicationsNodeID getCommsNodeId()
commsNodeId
public void marshal(java.io.DataOutputStream dos)
public int unmarshal(java.io.DataInputStream dis)
public void marshal(java.nio.ByteBuffer buff) throws java.lang.Exception
public int unmarshal(java.nio.ByteBuffer buff) throws java.lang.Exception
public boolean equalsImpl(java.lang.Object obj)
IORecord
this
and the supplied objectequalsImpl
in class IORecord
obj
- the object to compare to