org.marketcetera.util.quickfix
Class AnalyzedMessage

java.lang.Object
  extended by org.marketcetera.util.quickfix.AnalyzedMessage

public class AnalyzedMessage
extends Object

Analyzes a QuickFIX/J message, producing a human-readable representation of its contents.

Since:
1.0.0
Version:
$Id: AnalyzedMessage.java 16154 2012-07-14 16:34:05Z colin $
Author:
tlerios@marketcetera.com

Constructor Summary
AnalyzedMessage(DataDictionary qDict, Message qMsg)
          Creates a new analyzed message for the given QuickFIX/J message, interpreted using the given data dictionary.
 
Method Summary
 List<AnalyzedField> getBody()
          Returns the analyzed fields that comprise the receiver's body.
 List<AnalyzedField> getHeader()
          Returns the analyzed fields that comprise the receiver's header.
 List<AnalyzedField> getTrailer()
          Returns the analyzed fields that comprise the receiver's trailer.
 Exception getValidationException()
          Returns the receiver's validation exception.
 void print(PrintStream stream)
          Prints the receiver onto the given stream.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AnalyzedMessage

public AnalyzedMessage(DataDictionary qDict,
                       Message qMsg)
Creates a new analyzed message for the given QuickFIX/J message, interpreted using the given data dictionary.

Parameters:
qDict - The data dictionary.
qMsg - The message.
Method Detail

getHeader

public List<AnalyzedField> getHeader()
Returns the analyzed fields that comprise the receiver's header.

Returns:
The fields.

getBody

public List<AnalyzedField> getBody()
Returns the analyzed fields that comprise the receiver's body.

Returns:
The fields.

getTrailer

public List<AnalyzedField> getTrailer()
Returns the analyzed fields that comprise the receiver's trailer.

Returns:
The fields.

getValidationException

public Exception getValidationException()
Returns the receiver's validation exception.

Returns:
The exception. It is null if the receiver is valid.

print

public void print(PrintStream stream)
Prints the receiver onto the given stream.

Parameters:
stream - The stream.

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2012. All Rights Reserved.