Class MessageValidatorHandler
The message validator handler. If validation is enabled, handler uses the real validator from validation module, otherwise dummy implementation.
Inheritance
Inherited Members
Namespace: FixAntenna.FixEngine.Session.MessageHandler.Global
Assembly: FixAntenna.Core.dll
Syntax
public class MessageValidatorHandler : AbstractGlobalMessageHandler, ISessionMessageHandler, IFixMessageListener
Fields
ErrorInvalidLogon
Declaration
public const string ErrorInvalidLogon = "Invalid logon message"
Field Value
Type | Description |
---|---|
System.String |
Methods
OnNewMessage(FixMessage)
This handler calls the indirect validation library, if this library exists in class patch. If received message not valid the reject message will be send with reject code.
Reject codes:
'0' Invalid tag number
'1' Required tag missing
'2' Tag not defined for this message type
'3' Undefined Tag
'4' Tag specified without a value
'5' Value is incorrect (out of range) for this tag
'6' Incorrect data format for value
'7' Decryption problem
'8' Signature problem
'9' CompID problem
'10' SendingTime (52) accuracy problem
'11' Invalid MsgType (35)
'12' XML Validation error
'13' Tag appears more than once
'14' Tag specified out of required order
'15' Repeating group fields out of order
'16' Incorrect NumInGroup count for repeating group
'17' Non "data" value includes field delimiter (SOH character)
'99' Other
Declaration
public override void OnNewMessage(FixMessage message)
Parameters
Type | Name | Description |
---|---|---|
FixMessage | message |