OnixS C++ CME MDP Conflated TCP Handler  1.3.6
API Documentation
SessionListener Class Referenceabstract

#include <OnixS/CME/ConflatedTCP/SessionListener.h>

Public Member Functions

virtual void onNegotiationReject (const Messaging::NegotiationReject201 &, Session *)
 
virtual void onNegotiationResponse (const Messaging::NegotiationResponse202 &, Session *)
 
virtual void onTerminate (const Messaging::Terminate203 &, Session *)
 
virtual void onRequestAck (const Messaging::RequestAck206 &, Session *)
 
virtual void onRequestReject (const Messaging::RequestReject207 &, Session *)
 
virtual void onOutboundApplicationMsg (const Messaging::SbeMessage &, Session *)
 
virtual void onOutboundSessionMsg (const Messaging::SbeMessage &, Session *)
 
virtual void onReceivedBytes (const char *, size_t, 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 *)
 
virtual void onWarning (SessionWarningReason::Enum, const std::string &, Session *)
 

Protected Member Functions

virtual ~SessionListener ()=0
 

Detailed Description

Definition at line 136 of file SessionListener.h.

Constructor & Destructor Documentation

virtual ~SessionListener ( )
protectedpure virtual

Member Function Documentation

virtual void onError ( SessionErrorReason::Enum  ,
const std::string &  ,
Session  
)
inlinevirtual

Called when an error condition is detected.

Definition at line 161 of file SessionListener.h.

virtual void onMessageSending ( char *  ,
size_t  ,
Session  
)
inlinevirtual

Called when the SBE message is about to be sent to the wire.

Definition at line 155 of file SessionListener.h.

virtual void onNegotiationReject ( const Messaging::NegotiationReject201 ,
Session  
)
inlinevirtual

Definition at line 139 of file SessionListener.h.

virtual void onNegotiationResponse ( const Messaging::NegotiationResponse202 ,
Session  
)
inlinevirtual

Definition at line 140 of file SessionListener.h.

virtual void onOutboundApplicationMsg ( const Messaging::SbeMessage ,
Session  
)
inlinevirtual

Called when the application-level message is sent to the counterparty.

Definition at line 146 of file SessionListener.h.

virtual void onOutboundSessionMsg ( const Messaging::SbeMessage ,
Session  
)
inlinevirtual

Called when the session-level message is sent to the counterparty.

Definition at line 149 of file SessionListener.h.

virtual void onReceivedBytes ( const char *  ,
size_t  ,
Session  
)
inlinevirtual

Called as soon as bytes are received from the wire.

Definition at line 152 of file SessionListener.h.

virtual void onRequestAck ( const Messaging::RequestAck206 ,
Session  
)
inlinevirtual

Definition at line 142 of file SessionListener.h.

virtual void onRequestReject ( const Messaging::RequestReject207 ,
Session  
)
inlinevirtual

Definition at line 143 of file SessionListener.h.

virtual void onStateChange ( SessionStateId::Enum  ,
SessionStateId::Enum  ,
Session  
)
inlinevirtual

Called when the session changes its state.

Definition at line 158 of file SessionListener.h.

virtual void onTerminate ( const Messaging::Terminate203 ,
Session  
)
inlinevirtual

Definition at line 141 of file SessionListener.h.

virtual void onWarning ( SessionWarningReason::Enum  ,
const std::string &  ,
Session  
)
inlinevirtual

Called when a warning condition is detected.

Definition at line 164 of file SessionListener.h.


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