| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectListener.Listener
Listener.TextMessageListener
public class TextMessageListener
Each MessageParser object takes messages for a specified communication protocol and translates them to a data description object describing the message in terms of the message name, and a set of fields where the fields contains the message's values.
| Field Summary | 
|---|
| Fields inherited from class Listener.Listener | 
|---|
DSLContent, Parser, parsingOperations | 
| Constructor Summary | |
|---|---|
TextMessageListener(java.lang.String File)
 | 
|
| Method Summary | |
|---|---|
 AbstractMessage | 
MessageParse(byte[] MessagePacket)
Takes a Message packet which is a byte array and transfers it into a object that describes each message in terms of its name/type and the message fields with their value.  | 
 AbstractMessage | 
MessageParse(byte[] MessagePacket,
             java.util.ArrayList<java.lang.String> Extension)
Takes a Message packet which is a byte array and transfers it into a object that describes each message in terms of its name/type and the message fields with their value.  | 
| Methods inherited from class Listener.Listener | 
|---|
addFunction, addParseOperation, composeTypedValue, decode, getConstantValue, getFunctionResult, getFunctionResult, getTextTypedValue, getTypedValue, inspectFunctions, inspectParseOperations, removeFunction, removeParseOperation, toByteArray | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Methods inherited from interface ParsingFramework.IParseOperations | 
|---|
composeTypedValue, decode, getConstantValue, getFunctionResult, getFunctionResult, getTextTypedValue, getTypedValue, toByteArray | 
| Methods inherited from interface ParsingFramework.IMetaOperations | 
|---|
addFunction, addParseOperation, inspectFunctions, inspectParseOperations, removeFunction, removeParseOperation | 
| Constructor Detail | 
|---|
public TextMessageListener(java.lang.String File)
| Method Detail | 
|---|
public AbstractMessage MessageParse(byte[] MessagePacket)
MessageParse in interface IMessageParseMessagePacket - The message packet in bytes
public AbstractMessage MessageParse(byte[] MessagePacket,
                                    java.util.ArrayList<java.lang.String> Extension)
IMessageParse
MessageParse in interface IMessageParseMessagePacket - The message packet in bytesExtension - The set of strings that add information to the parser
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||