The Session type exposes the following members.
Fired after incoming message is parsed and stored in storage. Before any message validation.
Occurs when the incoming message is just received from the wire.
Occurs when the incoming message is about to be sent to the wire.
Fired after outgoing message is validated and before it is stored in the storage and sent to socket.
Occurs when a Heartbeat message (MsgType = 0) with the TestReqID field (tag = 112) has been received.
Occurs when the incoming messages received.
Occurs when a ill-formed Resend Request (MsgType = 2) has been received.
Occurs when the Logon message has been received from the counterpart.
Occurs when the Logout message has been received from the counterpart or the session was disconnected.
Occurs when a message have to be rejected.
Occurs when the session has changed its state.
This call-back method is called each time session tries to reconnect.
Occurs when an outgoing message is about to be resent as a reply to the incoming ResendRequest message.
Occurs when a Resend Request (MsgType = 2) has been received.
This call-back method is called when #DuplicateResendRequestLimit ResendRequest messages are received.
Occurs when a message gap is detected in incoming messages.
Occurs when a session-level Reject message (MsgType = 3) is received.
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.
Occurs when the message has to be routed to the session, which does not exist.
Occurs when unexpected message is received. For example - when first message in session is not a Logon.