B2BITS FIX Antenna C++ 2.33.0
|
Error related to Session. More...
#include <B2BITS_Event.h>
Public Member Functions | |
const std::string * | getSenderCompID () const |
Returns session's SenderCompID. | |
const SessionId & | getSessionId () const |
Returns session identifier. | |
const std::string * | getTargetCompID () const |
Returns session's TargetCompID. | |
virtual Type | getType () const |
Returns the event type. | |
SessionError (const Session *sn) | |
Constructor. | |
SessionError (const Session *sn, const std::string &aReason) | |
SessionError (const SessionId &sessionId, const std::string &aReason) | |
Constructor. | |
virtual const std::string * | what () const |
Describes the event. | |
virtual | ~SessionError () |
Destructor. | |
Public Member Functions inherited from Engine::Error | |
Error (const std::string &msg) | |
Constructor. | |
virtual | ~Error () |
Destructor. | |
Protected Attributes | |
SessionId | sessionId_ |
Protected Attributes inherited from Engine::Error | |
std::string | m_reason |
Contains std::string that describes the event. | |
Additional Inherited Members | |
Public Types inherited from Engine::Event | |
enum | Type { EVENT , ERROR_EVENT , NOTIFICATION , WARNING , SESSION_ERROR , SESSION_LOGON_ERROR , PARSE_ERROR_IN_SESSION , NEW_INCOMING_CONNECTION , NEW_INCOMING_CONNECTION_ERROR , SESSION_NOTIFICATION , SESSION_WAS_REJECTED , SESSION_WAS_CREATED , SESSION_WAS_CONNECTED , SESSION_WAS_CLOSED , SESSION_WAS_ESTABLISHED , SESSION_WAS_RESTORED , SYNCHRONIZATION_COMPLETE , SESSION_WARNING , LINK_ERROR_WAS_DETECTED , LINK_WAS_RESTORED , PERSISTENT_DATA_WERE_FOUND , DEBUG_MESSAGE , SESSION_DEBUG_MESSAGE } |
Event types. More... | |
Protected Member Functions inherited from Engine::Event | |
virtual | ~Event () |
Destructor. | |
Engine::SessionError::SessionError | ( | const Session * | sn | ) |
Constructor.
Engine::SessionError::SessionError | ( | const SessionId & | sessionId, |
const std::string & | aReason ) |
Constructor.
Engine::SessionError::SessionError | ( | const Session * | sn, |
const std::string & | aReason ) |
|
inlinevirtual |
Destructor.
|
inline |
Returns session's SenderCompID.
References Engine::SessionId::sender_, and sessionId_.
|
inline |
Returns session identifier.
References sessionId_.
|
inline |
Returns session's TargetCompID.
References sessionId_, and Engine::SessionId::target_.
|
inlinevirtual |
Returns the event type.
Can be used instead of C++ RTTI.
Reimplemented from Engine::Error.
Reimplemented in Engine::SessionLogonError, and Engine::ParseErrorInSession.
References Engine::Event::SESSION_ERROR.
|
virtual |
|
protected |
Referenced by getSenderCompID(), getSessionId(), and getTargetCompID().