Public Types | |
| enum | ErrorReason { FIRST_MESSAGE_NOT_A_LOGON, MSG_SEQ_NUM_TOO_LOW, CANNOT_RESTORE_CONNECTION } |
| Error reason. More... | |
| enum | WarningReason { GARBLED_MESSAGE_RECEIVED, LINK_ERROR } |
| Warning reason. More... | |
Public Member Functions | |
| virtual void | onInboundApplicationMsg (const Message &msg, Session *sn) |
| Is called when the applicatition-level message is received from the counterparty. | |
| virtual void | onInboundSessionMsg (const Message &msg, Session *sn) |
| Is called when the session-level message is received from the counterparty. | |
| virtual void | onOutboundApplicationMsg (const Message &msg, Session *sn) |
| Is called when the applicatition-level message is sent to the counterparty. | |
| virtual void | onOutboundSessionMsg (const Message &msg, Session *sn) |
| Is called when the session-level message is is sent to the counterparty. | |
| virtual void | onStateChange (Session::State newState, Session::State prevState, Session *sn) |
| Is called when the session changes its state. | |
| virtual bool | onResendRequest (const Message &msg, Session *sn) |
| Is called when the sent application-level message is about to be re-sent to the counterparty in reply to the ResendRequest<2> message. | |
| virtual void | onError (ErrorReason reason, const std::string &description, Session *sn) |
| Is called when an error condition is detected. | |
| virtual void | onWarning (WarningReason reason, const std::string &description, Session *sn) |
| Is called when a warning condition is detected. | |
Definition at line 16 of file ISessionListener.h.
| enum ErrorReason |
| enum WarningReason |
Is called when the applicatition-level message is received from the counterparty.
Definition at line 19 of file ISessionListener.h.
Is called when the session-level message is received from the counterparty.
Definition at line 22 of file ISessionListener.h.
Is called when the applicatition-level message is sent to the counterparty.
Definition at line 25 of file ISessionListener.h.
Is called when the session-level message is is sent to the counterparty.
Definition at line 28 of file ISessionListener.h.
| virtual void onStateChange | ( | Session::State | newState, | |
| Session::State | prevState, | |||
| Session * | sn | |||
| ) | [inline, virtual] |
Is called when the sent application-level message is about to be re-sent to the counterparty in reply to the ResendRequest<2> message.
Definition at line 36 of file ISessionListener.h.
| virtual void onError | ( | ErrorReason | reason, | |
| const std::string & | description, | |||
| Session * | sn | |||
| ) | [inline, virtual] |
| virtual void onWarning | ( | WarningReason | reason, | |
| const std::string & | description, | |||
| Session * | sn | |||
| ) | [inline, virtual] |
1.5.2