OnixS C++ FIX Engine  4.7.0
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

Class is not used for object life time managing.

Therefore, destructor is in protected area.

Member Function Documentation

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

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

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

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

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

Definition at line 69 of file SessionScheduler.h.

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

Notifies FIX session is about to be closed.

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

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


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