OnixS C++ CME iLink 3 Binary Order Entry Handler  1.18.0
API Documentation
TagBasedSessionListener Class Referenceabstract

#include <OnixS/CME/iLink3/messaging/TagBased/TagBasedSessionListener.h>

Public Member Functions

virtual void onMessage (const Messaging::TagBased::Message &, Session *)=0
 
- Public Member Functions inherited from SessionListener
virtual void onFailover (Messaging::FTI::Enum, Session *)
 
virtual void onReceivedBytes (const char *, size_t, const ReceivedDataTimestamp &, Session *)
 
virtual void onMessageSending (char *, size_t, Session *)
 
virtual void onStateChange (SessionStateId::Enum, SessionStateId::Enum, Session *)
 
virtual void onError (SessionErrorReason::Enum, const std::string &, Session *, Messaging::SbeMessage)
 
virtual void onWarning (SessionWarningReason::Enum, const std::string &, Session *, Messaging::SbeMessage)
 

Protected Member Functions

 TagBasedSessionListener ()
 
void setOnNotAppliedAction (NotAppliedAction::Enum value) noexcept
 
- Protected Member Functions inherited from SessionListener
virtual ~SessionListener ()=0
 

Detailed Description

Definition at line 34 of file TagBasedSessionListener.h.

Constructor & Destructor Documentation

TagBasedSessionListener ( )
inlineprotected

Definition at line 45 of file TagBasedSessionListener.h.

Member Function Documentation

virtual void onMessage ( const Messaging::TagBased::Message ,
Session  
)
pure virtual

Invoked when a message is received.

Note
When the Not Applied message is received, the action can be set using the TagBasedSessionListener::setOnNotAppliedAction method; otherwise, the default action is performed.
void setOnNotAppliedAction ( NotAppliedAction::Enum  value)
inlineprotectednoexcept

Sets the action to be taken when the NotApplied message is received from the exchange.

Definition at line 52 of file TagBasedSessionListener.h.


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