B2BITS FIX Antenna HFT
1.0.16
|
Represents notification event related to Session. More...
#include <B2BITS_Event.h>
Public Member Functions | |
const std::string * | getSenderCompID () const |
Returns session's SenderCompID. More... | |
const std::string * | getTargetCompID () const |
Returns session's TargetCompID. More... | |
virtual Type | getType () const B2B_OVERRIDE |
Returns the event type. More... | |
SessionNotification (const Session *pSn) | |
Constructor. More... | |
SessionNotification (const Session *pSn, const std::string &reason) | |
Constructor. More... | |
SessionNotification (const std::string &sender, const std::string &target, SessionRole role, const std::string &reason) | |
virtual | ~SessionNotification () |
Destructor. More... | |
Public Member Functions inherited from Engine::Notification | |
Notification (const std::string &msg) | |
Constructor. More... | |
virtual const std::string * | what () const B2B_OVERRIDE |
Describes the event. More... | |
virtual | ~Notification () |
Destructor. More... | |
Protected Attributes | |
int | role_ |
Role. More... | |
std::string | sender_ |
Sender. More... | |
std::string | target_ |
Target. More... | |
Protected Attributes inherited from Engine::Notification | |
std::string | m_reason |
Contains std::string that describes the event. More... | |
Additional Inherited Members | |
Public Types inherited from Engine::Event | |
enum | Type { EVENT, ERROR_EVENT, NOTIFICATION, WARNING, SESSION_ERROR, PARSE_ERROR_IN_SESSION, NEW_INCOMING_CONNECTION, SESSION_NOTIFICATION, 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. More... | |
Represents notification event related to Session.
Engine::SessionNotification::SessionNotification | ( | const Session * | pSn | ) |
Constructor.
Engine::SessionNotification::SessionNotification | ( | const Session * | pSn, |
const std::string & | reason | ||
) |
Constructor.
Engine::SessionNotification::SessionNotification | ( | const std::string & | sender, |
const std::string & | target, | ||
SessionRole | role, | ||
const std::string & | reason | ||
) |
|
inlinevirtual |
Destructor.
|
inline |
Returns session's SenderCompID.
References sender_.
|
inline |
Returns session's TargetCompID.
References target_.
|
inlinevirtual |
Returns the event type.
Can be used instead of C++ RTTI.
Reimplemented from Engine::Notification.
Reimplemented in Engine::B2B_SEALED< FileT >, Engine::B2B_SEALED< FileT >, Engine::B2B_SEALED< FileT >, Engine::B2B_SEALED< FileT >, Engine::B2B_SEALED< FileT >, Engine::B2B_SEALED< FileT >, Engine::B2B_SEALED< FileT >, Engine::B2B_SEALED< FileT >, Engine::B2B_SEALED< FileT >, and Engine::B2B_SEALED< FileT >.
References Engine::Event::SESSION_NOTIFICATION.
|
protected |
Role.
|
protected |
Sender.
Referenced by getSenderCompID().
|
protected |
Target.
Referenced by getTargetCompID().