B2BITS FIX Antenna HFT  1.0.16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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, 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, 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

Event types.

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

DEBUG_MESSAGE 

Debug message.

SESSION_DEBUG_MESSAGE 

Session debug message.

Constructor & Destructor Documentation

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

Destructor.

Member Function Documentation

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