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

Represents debug message related to Session. More...

#include <B2BITS_Event.h>

+ Inheritance diagram for Engine::SessionDebugMessage:
+ Collaboration diagram for Engine::SessionDebugMessage:

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
 Returns the event type. More...
 
 SessionDebugMessage (const Session *pSn, const std::string &reason)
 Constructor. More...
 
 SessionDebugMessage (const std::string &sender, const std::string &target, const std::string &reason)
 
 SessionDebugMessage (const std::string &sender, const std::string &target, SessionRole role, const std::string &reason)
 
virtual ~SessionDebugMessage ()
 Destructor. More...
 
- Public Member Functions inherited from Engine::DebugMessage
 DebugMessage (const std::string &msg)
 Constructor. More...
 
virtual const std::string * what () const
 Describes the event. More...
 
virtual ~DebugMessage ()
 Destructor. More...
 

Protected Attributes

SessionRole role_
 
std::string sender_
 Sender. More...
 
std::string target_
 Target. More...
 
- Protected Attributes inherited from Engine::DebugMessage
std::string m_reason
 Contains std::string that describes the event. 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...
 

Detailed Description

Represents debug message related to Session.

Constructor & Destructor Documentation

Engine::SessionDebugMessage::SessionDebugMessage ( const Session pSn,
const std::string &  reason 
)

Constructor.

Engine::SessionDebugMessage::SessionDebugMessage ( const std::string &  sender,
const std::string &  target,
const std::string &  reason 
)
Engine::SessionDebugMessage::SessionDebugMessage ( const std::string &  sender,
const std::string &  target,
SessionRole  role,
const std::string &  reason 
)
virtual Engine::SessionDebugMessage::~SessionDebugMessage ( )
inlinevirtual

Destructor.

Member Function Documentation

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

Returns session's SenderCompID.

References sender_.

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

Returns session's TargetCompID.

References target_.

virtual Type Engine::SessionDebugMessage::getType ( ) const
inlinevirtual

Returns the event type.

Can be used instead of C++ RTTI.

Reimplemented from Engine::DebugMessage.

References Engine::Event::SESSION_DEBUG_MESSAGE.

Member Data Documentation

SessionRole Engine::SessionDebugMessage::role_
protected
std::string Engine::SessionDebugMessage::sender_
protected

Sender.

Referenced by getSenderCompID().

std::string Engine::SessionDebugMessage::target_
protected

Target.

Referenced by getTargetCompID().