B2BITS FIX Antenna C++  2.27.0
Public Types | Public Member Functions | Protected Member Functions | List of all members
Engine::Event Class Referenceabstract

Generic event. More...

#include <B2BITS_Event.h>

+ Inheritance diagram for Engine::Event:

Public Types

enum  Type {
  EVENT, ERROR_EVENT, NOTIFICATION, WARNING,
  SESSION_ERROR, SESSION_LOGON_ERROR, PARSE_ERROR_IN_SESSION, NEW_INCOMING_CONNECTION,
  NEW_INCOMING_CONNECTION_ERROR, SESSION_NOTIFICATION, SESSION_WAS_REJECTED, 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...
 

Public Member Functions

virtual Type getType () const =0
 Returns the event type. More...
 
virtual const std::string * what () const =0
 Describes the event. More...
 

Protected Member Functions

virtual ~Event ()
 Destructor. More...
 

Detailed Description

Generic event.

Member Enumeration Documentation

◆ 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.

Constructor & Destructor Documentation

◆ ~Event()

virtual Engine::Event::~Event ( )
inlineprotectedvirtual

Destructor.

Member Function Documentation

◆ getType()

virtual Type Engine::Event::getType ( ) const
pure virtual

◆ what()

virtual const std::string* Engine::Event::what ( ) const
pure virtual