|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.millistream.www.MessageHeader
public class MessageHeader
This class represents the header of a message received from the server.
M
,
MC
Constructor Summary | |
---|---|
MessageHeader(int mref,
int mclass,
long insref)
Constructs a new MessageHeader object. |
|
MessageHeader(int mref,
int mclass,
long insref,
java.util.ArrayList<MessageField> fields)
Constructs a new MessageHeader object with all the fields. |
Method Summary | |
---|---|
java.util.ArrayList<MessageField> |
getFields()
Returns an ArrayList of the fields. |
long |
getInsref()
Returns the Instrument Reference (insref) |
int |
getMclass()
Returns the Message Class |
int |
getMref()
Returns the Message Reference |
java.lang.String |
toString()
Constructs and returns a (debug) String of the Mref, Mclass and Insref |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public MessageHeader(int mref, int mclass, long insref)
MessageHeader
object.
mref
- message referencemclass
- message classinsref
- instrument referencepublic MessageHeader(int mref, int mclass, long insref, java.util.ArrayList<MessageField> fields)
MessageHeader
object with all the fields.
mref
- message referencemclass
- message classinsref
- instrument referencefields
- an ArrayList of the fieldsMethod Detail |
---|
public int getMref()
public int getMclass()
public long getInsref()
public java.util.ArrayList<MessageField> getFields()
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |