B2BITS FIX Antenna C++  2.31.0
Public Member Functions | Public Attributes | List of all members
Engine::LogoutEvent Class Reference

The session was closed. More...

#include <B2BITS_SessionEvent.h>

+ Inheritance diagram for Engine::LogoutEvent:
+ Collaboration diagram for Engine::LogoutEvent:

Public Member Functions

 LogoutEvent (FIXMessage const *pLogoutMsg, const std::string &reason)
 Constructor. More...
 
virtual const std::string * what () const
 Reimplemented from SessionEvent. More...
 

Public Attributes

const FIXMessagem_pLogoutMsg
 The received Logout message. More...
 
bool reconnectFlag_
 Should be set to true to re-connect the session. More...
 

Additional Inherited Members

- Protected Member Functions inherited from Engine::SessionEvent
virtual ~SessionEvent ()
 Destructor. More...
 

Detailed Description

The session was closed.

Constructor & Destructor Documentation

◆ LogoutEvent()

Engine::LogoutEvent::LogoutEvent ( FIXMessage const *  pLogoutMsg,
const std::string &  reason 
)

Constructor.

Member Function Documentation

◆ what()

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

Reimplemented from SessionEvent.

See also
SessionEvent

Implements Engine::SessionEvent.

Member Data Documentation

◆ m_pLogoutMsg

const FIXMessage* Engine::LogoutEvent::m_pLogoutMsg

The received Logout message.

Warning
not NULL only if the session was closed by the remote side.

◆ reconnectFlag_

bool Engine::LogoutEvent::reconnectFlag_
mutable

Should be set to true to re-connect the session.

Moving will be performed in the parallel thread.

Warning
User should not set this flag to true at the application stop. Otherwise it will cause infinite loop.