Generic event. More...
#include <B2BITS_Event.h>
Inheritance diagram for Engine::Event:Public Types | |
| 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 } |
Event types. More... | |
Public Member Functions | |
| virtual Type | getType () const =0 |
| Returns the event type. | |
| virtual const std::string * | what () const =0 |
| Describes the event. | |
Protected Member Functions | |
| virtual | ~Event () |
| Destructor. | |
Generic event.
Definition at line 61 of file B2BITS_Event.h.
| enum Engine::Event::Type |
Event types.
| EVENT |
Generic event. |
| ERROR_EVENT |
Generic error. |
| NOTIFICATION |
Generic error. |
| WARNING |
Generic warning. |
| SESSION_ERROR |
Generic Session error. |
| PARSE_ERROR_IN_SESSION |
Error while parsing. |
| NEW_INCOMING_CONNECTION |
New incoming connection. |
| SESSION_NOTIFICATION |
Generic Session notification. |
| SESSION_WAS_CREATED |
Session was closed event. |
| SESSION_WAS_CONNECTED |
Session was connected event. |
| SESSION_WAS_CLOSED |
Session was closed event. |
| SESSION_WAS_ESTABLISHED |
Session was established event. |
| SESSION_WAS_RESTORED |
Session was restored after disconnect event. |
| SYNCHRONIZATION_COMPLETE |
Synchronization complete event. |
| SESSION_WARNING |
Generic Session warning. |
| LINK_ERROR_WAS_DETECTED |
Link error was detecetd error. |
| LINK_WAS_RESTORED |
Link was restored event. |
| PERSISTENT_DATA_WERE_FOUND |
Persistent data were found. |
Definition at line 69 of file B2BITS_Event.h.
| virtual Engine::Event::~Event | ( | ) | [inline, protected, virtual] |
Destructor.
Definition at line 97 of file B2BITS_Event.h.
| virtual Type Engine::Event::getType | ( | ) | const [pure virtual] |
Returns the event type.
Can be used instead of C++ RTTI.
Implemented in Engine::Notification, Engine::Warning, Engine::Error, Engine::NewIncomingConnection, Engine::SessionNotification, Engine::PersistentDataWereFound, Engine::SessionWarning, Engine::SessionError, Engine::ParseErrorInSession, Engine::SessionWasCreated, Engine::SessionWasClosed, Engine::LinkWasRestored, Engine::LinkErrorWasDetected, Engine::SessionWasRestored, and Engine::SessionWasEstablished.
| virtual const std::string* Engine::Event::what | ( | ) | const [pure virtual] |
Describes the event.
Implemented in Engine::Notification, Engine::Warning, Engine::Error, and Engine::SessionError.
1.7.2