Session EventsFIX Antenna .NET Programmer's Guide

The Session type exposes the following members.


Public eventAfterMessageIsParsedEvent
Fired after incoming message is parsed and stored in storage. Before any message validation.
Public eventAfterMessageIsReceivedEvent
Occurs when the incoming message is just received from the wire.
Public eventBeforeMessageIsSentEvent
Occurs when the incoming message is about to be sent to the wire.
Public eventBeforeMessageIsSerializedEvent
Fired after outgoing message is validated and before it is stored in the storage and sent to socket.
Public eventHeartbeatWithTestReqIDEvent
Occurs when a Heartbeat message (MsgType = 0) with the TestReqID field (tag = 112) has been received.
Public eventIncomingMessageEvent
Occurs when the incoming messages received.
Public eventInvalidResendRequestEvent
Occurs when a ill-formed Resend Request (MsgType = 2) has been received.
Public eventLogonEvent
Occurs when the Logon message has been received from the counterpart.
Public eventLogoutEvent
Occurs when the Logout message has been received from the counterpart or the session was disconnected.
Public eventMsgRejectEvent
Occurs when a message have to be rejected.
Public eventNewStateEvent
Occurs when the session has changed its state.
Public eventReconnectTryEvent
This call-back method is called each time session tries to reconnect.
Public eventResendEvent
Occurs when an outgoing message is about to be resent as a reply to the incoming ResendRequest message.
Public eventResendRequestEvent
Occurs when a Resend Request (MsgType = 2) has been received.
Public eventResendRequestLoopEvent
This call-back method is called when #DuplicateResendRequestLimit ResendRequest messages are received.
Public eventSequenceGapEvent
Occurs when a message gap is detected in incoming messages.
Public eventSessionLevelRejectEvent
Occurs when a session-level Reject message (MsgType = 3) is received.
Public eventSessionLevelRejectWithSeqNumTooHighEvent
Fired when Session Level Reject message is received with the sequence number too high. If message is processed, user should set IncomingMessageEventHandler.Processed = true. In this case Resend Request message will not be sent.
Public eventUnableToRouteMessageEvent
Occurs when the message has to be routed to the session, which does not exist.
Public eventUnexpectedMessageEvent
Occurs when unexpected message is received. For example - when first message in session is not a Logon.
See Also