B2BITS FIX Antenna C++ 2.33.0
|
Generic event. More...
#include <B2BITS_Event.h>
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.
enum Engine::Event::Type |
Event types.
Enumerator | |
---|---|
EVENT | Generic event. |
ERROR_EVENT | Generic error. |
NOTIFICATION | Generic error. |
WARNING | Generic warning. |
SESSION_ERROR | Generic Session error. |
SESSION_LOGON_ERROR | Error while session logon. |
PARSE_ERROR_IN_SESSION | Error while parsing. |
NEW_INCOMING_CONNECTION | New incoming connection. |
NEW_INCOMING_CONNECTION_ERROR | New incoming connection error. |
SESSION_NOTIFICATION | Generic Session notification. |
SESSION_WAS_REJECTED | Session was rejected event. |
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. |
DEBUG_MESSAGE | Debug message. |
SESSION_DEBUG_MESSAGE | Session debug message. |
|
inlineprotectedvirtual |
Destructor.
|
pure virtual |
Returns the event type.
Can be used instead of C++ RTTI.
Implemented in Engine::Notification, Engine::Warning, Engine::Error, Engine::DebugMessage, Engine::NewIncomingConnection, Engine::NewIncomingConnectionError, Engine::SessionNotification, Engine::PersistentDataWereFound, Engine::SessionWarning, Engine::SessionError, Engine::SessionLogonError, Engine::SessionLogonWarning, Engine::ParseErrorInSession, Engine::ParseWarningInSession, Engine::SessionWasRejected, Engine::SessionWasCreated, Engine::SessionWasClosed, Engine::LinkWasRestored, Engine::LinkErrorWasDetected, Engine::SessionWasRestored, Engine::SessionWasEstablished, and Engine::SessionDebugMessage.
|
pure virtual |
Describes the event.
Implemented in Engine::Notification, Engine::Warning, Engine::Error, Engine::DebugMessage, Engine::SessionError, Engine::SessionLogonError, and Engine::SessionLogonWarning.