B2BITS FIX Antenna HFT  1.0.13
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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 Engine::FIXMessage *const m_pLogonMsg
 The received Logon message. More...
 
Engine::FIXMessage *const outgoingLogonMessage_
 Outgoing Logon message. More...
 
Engine::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

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

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

Constructor.

Member Function Documentation

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

Reimplemented from SessionEvent.

See Also
SessionEvent

Implements Engine::SessionEvent.

Member Data Documentation

LogonAction Engine::LogonEvent::logonAction_
mutable

Logon action.

const Engine::FIXMessage* const Engine::LogonEvent::m_pLogonMsg

The received Logon message.

Engine::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.

Engine::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.