B2BITS FIX Antenna HFT
1.0.17
|
#include <B2BITS_Event.h>
Public Member Functions | |
virtual Type | getType () const |
Returns the event type. More... | |
SessionWasClosed (const Fast2FixSession *sn, const std::string &reason="") | |
Constructor. More... | |
SessionWasClosed (const std::string &sender, const std::string &target, SessionRole role, bool correctlyTerminated, const std::string &reason="") | |
![]() | |
const std::string * | getSenderCompID () const |
Returns session's SenderCompID. More... | |
const std::string * | getTargetCompID () const |
Returns session's TargetCompID. 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... | |
![]() | |
Notification (const std::string &msg) | |
Constructor. More... | |
virtual const std::string * | what () const |
Describes the event. More... | |
virtual | ~Notification () |
Destructor. More... | |
Additional Inherited Members | |
![]() | |
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... | |
![]() | |
virtual | ~Event () |
Destructor. More... | |
![]() | |
int | role_ |
Role. More... | |
std::string | sender_ |
Sender. More... | |
std::string | target_ |
Target. More... | |
![]() | |
std::string | m_reason |
Contains std::string that describes the event. More... | |
Session was closed.
Engine::SessionWasClosed::SessionWasClosed | ( | const Fast2FixSession * | sn, |
const std::string & | reason = "" |
||
) |
Constructor.
sn | Session. |
reason | Reason of session closing. |
Engine::SessionWasClosed::SessionWasClosed | ( | const std::string & | sender, |
const std::string & | target, | ||
SessionRole | role, | ||
bool | correctlyTerminated, | ||
const std::string & | reason = "" |
||
) |
|
inlinevirtual |
Returns the event type.
Can be used instead of C++ RTTI.
Reimplemented from Engine::SessionNotification.
References Engine::Event::SESSION_WAS_CLOSED.