OnixS C++ FIX Engine  4.2.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 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 ()
 

Detailed Description

Definition at line 43 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 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.
sessionsession which 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: