Represents notification event. More...
#include <B2BITS_Event.h>
Inheritance diagram for Engine::Notification:
Collaboration diagram for Engine::Notification:Public Member Functions | |
| virtual Type | getType () const |
| Returns the event type. | |
| Notification (const std::string &msg) | |
| Constructor. | |
| virtual const std::string * | what () const |
| Describes the event. | |
| virtual | ~Notification () |
| Destructor. | |
Protected Attributes | |
| std::string | m_reason |
| Contains string that describes the event. | |
Represents notification event.
Definition at line 105 of file B2BITS_Event.h.
| Engine::Notification::Notification | ( | const std::string & | msg ) |
Constructor.
| msg | String that describes the event. |
| virtual Engine::Notification::~Notification | ( | ) | [inline, virtual] |
Destructor.
Definition at line 114 of file B2BITS_Event.h.
| virtual Type Engine::Notification::getType | ( | ) | const [inline, virtual] |
Returns the event type.
Can be used instead of C++ RTTI.
Implements Engine::Event.
Reimplemented in Engine::NewIncomingConnection, Engine::SessionNotification, Engine::PersistentDataWereFound, Engine::SessionWasCreated, Engine::SessionWasClosed, Engine::LinkWasRestored, Engine::SessionWasRestored, and Engine::SessionWasEstablished.
Definition at line 118 of file B2BITS_Event.h.
References Engine::Event::NOTIFICATION.
| virtual const std::string* Engine::Notification::what | ( | ) | const [virtual] |
Describes the event.
Implements Engine::Event.
std::string Engine::Notification::m_reason [protected] |
Contains string that describes the event.
Definition at line 122 of file B2BITS_Event.h.
1.7.2