| Constructor and Description |
|---|
MessageHeader(short mref,
long mclass,
long insref,
short delay)
Constructs a new
MessageHeader object. |
MessageHeader(short mref,
long mclass,
long insref,
short delay,
java.util.ArrayList<MessageField> fields)
Constructs a new
MessageHeader object with all the fields. |
| Modifier and Type | Method and Description |
|---|---|
short |
getDelay()
Returns the intended delay of the message, will only contain 0 unless the connection is set to delay-mode using
setHandleDelay |
java.util.ArrayList<MessageField> |
getFields()
Returns an ArrayList of the fields.
|
long |
getInsref()
Returns the Instrument Reference (insref)
|
long |
getMclass()
Returns the Message Class
|
short |
getMref()
Returns the Message Reference
|
java.lang.String |
toString()
Constructs and returns a (debug) String of the Mref, Mclass and Insref
|
public MessageHeader(short mref,
long mclass,
long insref,
short delay)
MessageHeader object.mref - message referencemclass - message classinsref - instrument referencepublic MessageHeader(short mref,
long mclass,
long insref,
short delay,
java.util.ArrayList<MessageField> fields)
MessageHeader object with all the fields.mref - message referencemclass - message classinsref - instrument referencefields - an ArrayList of the fieldspublic short getMref()
public long getMclass()
public short getDelay()
setHandleDelaypublic long getInsref()
public java.util.ArrayList<MessageField> getFields()
public java.lang.String toString()
toString in class java.lang.Object