B2BITS FIX Antenna C++  2.29.0
Public Member Functions | List of all members
Engine::SessionLogonError Class Reference

Error related to Session Logon. More...

#include <B2BITS_Event.h>

+ Inheritance diagram for Engine::SessionLogonError:
+ Collaboration diagram for Engine::SessionLogonError:

Public Member Functions

virtual Type getType () const
 Returns the event type. More...
 
 SessionLogonError (const Session *sn)
 Constructor. More...
 
 SessionLogonError (const SessionId &sessionId, const std::string &remoteAddress, int remotePort, const std::string &localAddress, const System::SocketEndpoint &localEndpoint, const std::string &aReason)
 Constructor. More...
 
 SessionLogonError (const Session *sn, const std::string &aReason)
 
virtual const std::string * what () const
 Describes the event. More...
 
virtual ~SessionLogonError ()
 Destructor. More...
 
- Public Member Functions inherited from Engine::SessionError
const std::string * getSenderCompID () const
 Returns session's SenderCompID. More...
 
const SessionIdgetSessionId () const
 Returns session identifier. More...
 
const std::string * getTargetCompID () const
 Returns session's TargetCompID. More...
 
 SessionError (const Session *sn)
 Constructor. More...
 
 SessionError (const SessionId &sessionId, const std::string &aReason)
 Constructor. More...
 
 SessionError (const Session *sn, const std::string &aReason)
 
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, 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...
 
- Protected Member Functions inherited from Engine::Event
virtual ~Event ()
 Destructor. More...
 
- Protected Attributes inherited from Engine::SessionError
SessionId sessionId_
 
- Protected Attributes inherited from Engine::Error
std::string m_reason
 Contains std::string that describes the event. More...
 

Detailed Description

Error related to Session Logon.

Constructor & Destructor Documentation

◆ SessionLogonError() [1/3]

Engine::SessionLogonError::SessionLogonError ( const Session sn)

Constructor.

◆ SessionLogonError() [2/3]

Engine::SessionLogonError::SessionLogonError ( const SessionId sessionId,
const std::string &  remoteAddress,
int  remotePort,
const std::string &  localAddress,
const System::SocketEndpoint localEndpoint,
const std::string &  aReason 
)

Constructor.

◆ SessionLogonError() [3/3]

Engine::SessionLogonError::SessionLogonError ( const Session sn,
const std::string &  aReason 
)

◆ ~SessionLogonError()

virtual Engine::SessionLogonError::~SessionLogonError ( )
inlinevirtual

Destructor.

Member Function Documentation

◆ getType()

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

Returns the event type.

Can be used instead of C++ RTTI.

Reimplemented from Engine::SessionError.

References Engine::Event::SESSION_LOGON_ERROR.

◆ what()

virtual const std::string* Engine::SessionLogonError::what ( ) const
virtual

Describes the event.

Reimplemented from Engine::SessionError.