com.epam.fix.validation
Interface IMessageValidator

All Known Implementing Classes:
ValidationEngine

public interface IMessageValidator

Author:
Serhiy_Zahriychuk

Method Summary
 void setContentValidation(boolean isContentValidation)
          Sets the content validation flag.
 FIXErrorContainer validateFIXMessage(FIXFieldList message)
          Validates the fix message.
 FIXErrorContainer validateFIXMessage(String msgType, FIXFieldList message)
          Validates the fix message.
 

Method Detail

validateFIXMessage

FIXErrorContainer validateFIXMessage(FIXFieldList message)
Validates the fix message.

Parameters:
message - the fix message
Returns:
returns the validation result

validateFIXMessage

FIXErrorContainer validateFIXMessage(String msgType,
                                     FIXFieldList message)
Validates the fix message.

Parameters:
msgType - the type of message
message - the list of fix fields
Returns:
returns the validation result

setContentValidation

void setContentValidation(boolean isContentValidation)
Sets the content validation flag.
This flag enable/disable the content validation of message.
The content validation works only for header and trailer blocks.

Parameters:
isContentValidation - the flag


Copyright © 2000-2014 EPAM Systems. All Rights Reserved.