OnixS C++ FIX Engine  4.10.1
API Documentation
SessionSchedulerListener Class Referenceabstract

#include <OnixS/FIXEngine/FIX/Scheduling/SessionScheduler.h>

Public Member Functions

virtual void onLoggingOut (const SessionScheduler &scheduler, Session *session, bool *allowLogout)=0
 
virtual void onInitiatorConnecting (const SessionScheduler &, Session *, const Counterparty &)
 
virtual void onWarning (const SessionScheduler &scheduler, Session *session, const std::string &warningReason)=0
 
virtual void onError (const SessionScheduler &scheduler, Session *session, const std::string &errorReason)=0
 

Protected Member Functions

virtual ~SessionSchedulerListener () ONIXS_FIXENGINE_DEFAULT
 

Detailed Description

Definition at line 44 of file SessionScheduler.h.

Constructor & Destructor Documentation

virtual ~SessionSchedulerListener ( )
protectedvirtual

The class is not used for the object life time managing.

Therefore, destructor is in the protected area.

Member Function Documentation

virtual void onError ( const SessionScheduler scheduler,
Session session,
const std::string &  errorReason 
)
pure virtual

Notifies about an error occurred while maintaining the state for the given session.

virtual void onInitiatorConnecting ( const SessionScheduler ,
Session ,
const Counterparty  
)
inlinevirtual

Allows scheduler's users to be notified when an initiator will try to connect to the next counterparty.

The parameter Counterparty provides a counterparty, to which the session will connect.

Definition at line 69 of file SessionScheduler.h.

virtual void onLoggingOut ( const SessionScheduler scheduler,
Session session,
bool *  allowLogout 
)
pure virtual

Notifies if the FIX session is about to be closed.

Parameters
schedulerIdentifies an instance of the session scheduler which is about to close the scheduled session.
sessionIdentifies the session which is about to be closed.
allowLogoutDefines whether the session scheduler must perform the logout. To prohibit the session logout it's necessary to set it to 'false'.
virtual void onWarning ( const SessionScheduler scheduler,
Session session,
const std::string &  warningReason 
)
pure virtual

Notifies about a non-critical issue occurred while maintaining the state for the given session.


The documentation for this class was generated from the following file: