B2BITS FIX Antenna C++  2.27.1
Public Types | Public Member Functions | Public Attributes | List of all members
Engine::LogonEvent Class Reference

The Logon message has been received from the counterparty. More...

#include <B2BITS_SessionEvent.h>

+ Inheritance diagram for Engine::LogonEvent:
+ Collaboration diagram for Engine::LogonEvent:

Public Types

enum  LogonAction { AcceptWithConfirmLogon, DisconnectWithLogout, Disconnect }
 Defines list of possible logon response actions. More...
 

Public Member Functions

 LogonEvent (FIXMessage const *pLogonMsg, FIXMessage *logonMessage, FIXMessage *logoutMessage, const std::string &reason)
 Constructor. More...
 
virtual const std::string * what () const
 Reimplemented from SessionEvent. More...
 

Public Attributes

LogonAction logonAction_
 Logon action. More...
 
const FIXMessage *const m_pLogonMsg
 The received Logon message. More...
 
FIXMessage *const outgoingLogonMessage_
 Outgoing Logon message. More...
 
FIXMessage *const outgoingLogoutMessage_
 Outgoing Logout message. More...
 

Additional Inherited Members

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

Detailed Description

The Logon message has been received from the counterparty.

Member Enumeration Documentation

◆ LogonAction

Defines list of possible logon response actions.

Enumerator
AcceptWithConfirmLogon 

Accepting incoming logon with outgoing Logon message.

DisconnectWithLogout 

Rejecting incoming logon with outgoing Logout message.

Disconnect 

Rejecting incoming logon.

Constructor & Destructor Documentation

◆ LogonEvent()

Engine::LogonEvent::LogonEvent ( FIXMessage const *  pLogonMsg,
FIXMessage logonMessage,
FIXMessage logoutMessage,
const std::string &  reason 
)

Constructor.

Member Function Documentation

◆ what()

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

Reimplemented from SessionEvent.

See also
SessionEvent

Implements Engine::SessionEvent.

Member Data Documentation

◆ logonAction_

LogonAction Engine::LogonEvent::logonAction_
mutable

Logon action.

◆ m_pLogonMsg

const FIXMessage* const Engine::LogonEvent::m_pLogonMsg

The received Logon message.

◆ outgoingLogonMessage_

FIXMessage* const Engine::LogonEvent::outgoingLogonMessage_

Outgoing Logon message.

Used when logonAction_ equals to Engine::LogonEvent::AcceptWithConfirmLogon. Field is available only for acceptor. In case of initiator it equals to NULL.

◆ outgoingLogoutMessage_

FIXMessage* const Engine::LogonEvent::outgoingLogoutMessage_

Outgoing Logout message.

Used when logonAction_ equals to Engine::LogonEvent::DisconnectWithLogout. Field is available only for acceptor. In case of initiator it equals to NULL.