Represents notification event related to Session. More...
#include <B2BITS_Event.h>
Inheritance diagram for Engine::SessionNotification:
Collaboration diagram for Engine::SessionNotification:Public Member Functions | |
| const std::string * | getSenderCompID () const |
| Returns session's SenderCompID. | |
| const std::string * | getTargetCompID () const |
| Returns session's TargetCompID. | |
| virtual Type | getType () const |
| Returns the event type. | |
| SessionNotification (const Session *pSn, const std::string &reason) | |
| Constructor. | |
| SessionNotification (const Session *pSn) | |
| Constructor. | |
| SessionNotification (const std::string &sender, const std::string &target, Session::Role role, const std::string &reason) | |
| virtual | ~SessionNotification () |
| Destructor. | |
Protected Attributes | |
| int | role_ |
| Role. | |
| std::string | sender_ |
| Sender. | |
| std::string | target_ |
| Target. | |
Represents notification event related to Session.
Definition at line 218 of file B2BITS_Event.h.
| 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, | ||
| Session::Role | role, | ||
| const std::string & | reason | ||
| ) |
| virtual Engine::SessionNotification::~SessionNotification | ( | ) | [inline, virtual] |
Destructor.
Definition at line 227 of file B2BITS_Event.h.
| const std::string* Engine::SessionNotification::getSenderCompID | ( | ) | const [inline] |
| const std::string* Engine::SessionNotification::getTargetCompID | ( | ) | const [inline] |
| virtual Type Engine::SessionNotification::getType | ( | ) | const [inline, virtual] |
Returns the event type.
Can be used instead of C++ RTTI.
Reimplemented from Engine::Notification.
Reimplemented in Engine::PersistentDataWereFound, Engine::SessionWasCreated, Engine::SessionWasClosed, Engine::LinkWasRestored, Engine::SessionWasRestored, and Engine::SessionWasEstablished.
Definition at line 229 of file B2BITS_Event.h.
References Engine::Event::SESSION_NOTIFICATION.
int Engine::SessionNotification::role_ [protected] |
Role.
Definition at line 238 of file B2BITS_Event.h.
std::string Engine::SessionNotification::sender_ [protected] |
std::string Engine::SessionNotification::target_ [protected] |
1.7.2