B2BITS FIX Antenna HFT  1.0.16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
Engine::SessionError Class Reference

Error related to Session. More...

#include <B2BITS_Event.h>

+ Inheritance diagram for Engine::SessionError:
+ Collaboration diagram for Engine::SessionError:

Public Member Functions

const std::string * getSenderCompID () const
 Returns session's SenderCompID. More...
 
const std::string * getTargetCompID () const
 Returns session's TargetCompID. More...
 
virtual Type getType () const B2B_OVERRIDE
 Returns the event type. More...
 
 SessionError (const Session *sn)
 Constructor. More...
 
 SessionError (const std::string &sender, const std::string &target, const std::string &aReason)
 Constructor. More...
 
 SessionError (const Session *sn, const std::string &aReason)
 
virtual const std::string * what () const B2B_OVERRIDE
 Describes the event. More...
 
virtual ~SessionError ()
 Destructor. More...
 
- Public Member Functions inherited from Engine::Error
 Error (const std::string &msg)
 Constructor. More...
 
virtual ~Error ()
 Destructor. More...
 

Additional Inherited Members

- Public Types inherited from Engine::Event
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...
 
- Protected Member Functions inherited from Engine::Event
virtual ~Event ()
 Destructor. More...
 
- Protected Attributes inherited from Engine::Error
std::string m_reason
 Contains std::string that describes the event. More...
 

Detailed Description

Error related to Session.

Constructor & Destructor Documentation

Engine::SessionError::SessionError ( const Session sn)

Constructor.

Engine::SessionError::SessionError ( const std::string &  sender,
const std::string &  target,
const std::string &  aReason 
)

Constructor.

Engine::SessionError::SessionError ( const Session sn,
const std::string &  aReason 
)
virtual Engine::SessionError::~SessionError ( )
inlinevirtual

Destructor.

Member Function Documentation

const std::string* Engine::SessionError::getSenderCompID ( ) const
inline

Returns session's SenderCompID.

const std::string* Engine::SessionError::getTargetCompID ( ) const
inline

Returns session's TargetCompID.

virtual Type Engine::SessionError::getType ( ) const
inlinevirtual
virtual const std::string* Engine::SessionError::what ( ) const
virtual

Describes the event.

Reimplemented from Engine::Error.