public class DummyMessageValidator extends Object implements MessageValidator
Constructor and Description |
---|
DummyMessageValidator() |
Modifier and Type | Method and Description |
---|---|
static MessageValidator |
getInstance() |
void |
setContentValidation(boolean isContentValidation)
Sets the content validation flag.
|
ValidationResult |
validate(FIXFieldList message)
Validates the message.
|
void |
validate(FIXFieldList message,
ValidationResult result)
Validates the message.
|
ValidationResult |
validateContent(String msgType,
FIXFieldList content)
Validates the content of message.
|
public static MessageValidator getInstance()
public ValidationResult validateContent(String msgType, FIXFieldList content)
MessageValidator
validateContent
in interface MessageValidator
msgType
- the message typecontent
- the content of messagepublic void setContentValidation(boolean isContentValidation)
MessageValidator
setContentValidation
in interface MessageValidator
isContentValidation
- the content validation flagpublic ValidationResult validate(FIXFieldList message)
MessageValidator
validate
in interface MessageValidator
message
- the fix messagepublic void validate(FIXFieldList message, ValidationResult result)
MessageValidator
validate
in interface MessageValidator
message
- the ValidationResult object to avoid GCresult
- the fix messageCopyright © 2000–2022 EPAM Systems. All rights reserved.