|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectFourMS.FourMSMessage
public class FourMSMessage
This a container class which is used for passing the details of message coming back from the 4MS or 4MS simulation. It has no methods, it only contains data.
Field Summary | |
---|---|
java.lang.String |
DestinationName
This is the intended destination of the message stripped from the 4MS message. |
java.lang.String[] |
FourMSInstructions
These are the embedded 4MS type messages which can be found in the message. |
(package private) java.util.regex.Pattern |
FourMSMessageACKMatchRE
This will be used for matching ACKs and broadcast messages which are messages were there is no message body |
(package private) java.util.regex.Pattern |
FourMSMessageMatchRE
This a precompiled regular expression which will be used to find the first 4MS message which adheres to ER412 protocol contained in a string in the input buffer. |
ER412MessageComponent[] |
MessageComponents
This holds the details of the ER412 sub-messages which are associated with a particular incoming message |
int |
MessageSequenceNumber
This is the message sequence number which was returned by the 4MS. |
int |
MessageType
This is the type of the message. |
boolean |
ReplyWellFormatted
Whether or not the reply which was sent to the object was well formed or not. |
java.lang.String |
SourceName
This is the origin of the message, the 4MS which originated from |
Constructor Summary | |
---|---|
FourMSMessage()
|
|
FourMSMessage(java.lang.String ER412MessageString)
This sets up the components in the class according to the incoming message string which describes a message which should be in the ER412 format |
Method Summary |
---|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public java.lang.String DestinationName
public int MessageSequenceNumber
public int MessageType
public boolean ReplyWellFormatted
public java.lang.String SourceName
public java.lang.String[] FourMSInstructions
public ER412MessageComponent[] MessageComponents
final java.util.regex.Pattern FourMSMessageMatchRE
final java.util.regex.Pattern FourMSMessageACKMatchRE
Constructor Detail |
---|
public FourMSMessage(java.lang.String ER412MessageString) throws Malformed4MSMessageException
ER412MessageString
-
Malformed4MSMessageException
public FourMSMessage()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |