OnixS C++ B3 BOE Binary Order Entry  1.2.0
API Documentation
SessionListener Class Referenceabstract

#include <OnixS/B3/BOE/SessionListener.h>

Public Member Functions

virtual void onNotApplied (const Messaging::NotApplied8 &, Session *)
 
virtual void onNegotiateResponse (const Messaging::NegotiateResponse2 &, Session *)
 
virtual void onNegotiateReject (const Messaging::NegotiateReject3 &, Session *)
 
virtual void onEstablishAck (const Messaging::EstablishAck5 &, Session *)
 
virtual void onEstablishReject (const Messaging::EstablishReject6 &, Session *)
 
virtual void onTerminate (const Messaging::Terminate7 &, Session *)
 
virtual void onSequence (const Messaging::Sequence9 &, Session *)
 
virtual void onRetransmission (const Messaging::Retransmission13 &, Session *)
 
virtual void onRetransmitReject (const Messaging::RetransmitReject14 &, Session *)
 
virtual void onExecutionReportNew (const Messaging::ExecutionReportNew200 &, Session *)
 
virtual void onExecutionReportModify (const Messaging::ExecutionReportModify201 &, Session *)
 
virtual void onExecutionReportCancel (const Messaging::ExecutionReportCancel202 &, Session *)
 
virtual void onExecutionReportTrade (const Messaging::ExecutionReportTrade203 &, Session *)
 
virtual void onExecutionReportReject (const Messaging::ExecutionReportReject204 &, Session *)
 
virtual void onExecutionReportForward (const Messaging::ExecutionReportForward205 &, Session *)
 
virtual void onBusinessMessageReject (const Messaging::BusinessMessageReject206 &, Session *)
 
virtual void onSecurityDefinitionResponse (const Messaging::SecurityDefinitionResponse301 &, Session *)
 
virtual void onQuoteRequest (const Messaging::QuoteRequest401 &, Session *)
 
virtual void onQuoteStatusReport (const Messaging::QuoteStatusReport402 &, Session *)
 
virtual void onQuote (const Messaging::Quote403 &, Session *)
 
virtual void onQuoteCancel (const Messaging::QuoteCancel404 &, Session *)
 
virtual void onQuoteRequestReject (const Messaging::QuoteRequestReject405 &, Session *)
 
virtual void onPositionMaintenanceReport (const Messaging::PositionMaintenanceReport503 &, Session *)
 
virtual void onAllocationReport (const Messaging::AllocationReport602 &, Session *)
 
virtual void onOrderMassActionReport (const Messaging::OrderMassActionReport702 &, 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

virtual ~SessionListener ()=0
 

Detailed Description

Definition at line 203 of file SessionListener.h.

Constructor & Destructor Documentation

virtual ~SessionListener ( )
protectedpure virtual

Member Function Documentation

virtual void onAllocationReport ( const Messaging::AllocationReport602 ,
Session  
)
inlinevirtual

Invoked when AllocationReport602 message has received.

Definition at line 275 of file SessionListener.h.

virtual void onBusinessMessageReject ( const Messaging::BusinessMessageReject206 ,
Session  
)
inlinevirtual

Invoked when BusinessMessageReject206 message has received.

Definition at line 251 of file SessionListener.h.

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

Called when an error condition is detected.

Note
the message argument provided is a message which caused the problem, must be checked to be valid before usage

Definition at line 291 of file SessionListener.h.

virtual void onEstablishAck ( const Messaging::EstablishAck5 ,
Session  
)
inlinevirtual

Invoked when EstablishAck5 message has received.

Definition at line 215 of file SessionListener.h.

virtual void onEstablishReject ( const Messaging::EstablishReject6 ,
Session  
)
inlinevirtual

Invoked when EstablishReject6 message has received.

Definition at line 218 of file SessionListener.h.

virtual void onExecutionReportCancel ( const Messaging::ExecutionReportCancel202 ,
Session  
)
inlinevirtual

Invoked when ExecutionReportCancel202 message has received.

Definition at line 239 of file SessionListener.h.

virtual void onExecutionReportForward ( const Messaging::ExecutionReportForward205 ,
Session  
)
inlinevirtual

Invoked when ExecutionReportForward205 message has received.

Definition at line 248 of file SessionListener.h.

virtual void onExecutionReportModify ( const Messaging::ExecutionReportModify201 ,
Session  
)
inlinevirtual

Invoked when ExecutionReportModify201 message has received.

Definition at line 236 of file SessionListener.h.

virtual void onExecutionReportNew ( const Messaging::ExecutionReportNew200 ,
Session  
)
inlinevirtual

Invoked when ExecutionReportNew200 message has received.

Definition at line 233 of file SessionListener.h.

virtual void onExecutionReportReject ( const Messaging::ExecutionReportReject204 ,
Session  
)
inlinevirtual

Invoked when ExecutionReportReject204 message has received.

Definition at line 245 of file SessionListener.h.

virtual void onExecutionReportTrade ( const Messaging::ExecutionReportTrade203 ,
Session  
)
inlinevirtual

Invoked when ExecutionReportTrade203 message has received.

Definition at line 242 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 284 of file SessionListener.h.

virtual void onNegotiateReject ( const Messaging::NegotiateReject3 ,
Session  
)
inlinevirtual

Invoked when NegotiateReject3 message has received.

Definition at line 212 of file SessionListener.h.

virtual void onNegotiateResponse ( const Messaging::NegotiateResponse2 ,
Session  
)
inlinevirtual

Invoked when NegotiateResponse2 message has received.

Definition at line 209 of file SessionListener.h.

virtual void onNotApplied ( const Messaging::NotApplied8 ,
Session  
)
inlinevirtual

Definition at line 206 of file SessionListener.h.

virtual void onOrderMassActionReport ( const Messaging::OrderMassActionReport702 ,
Session  
)
inlinevirtual

Invoked when OrderMassActionReport702 message has received.

Definition at line 278 of file SessionListener.h.

virtual void onPositionMaintenanceReport ( const Messaging::PositionMaintenanceReport503 ,
Session  
)
inlinevirtual

Invoked when PositionMaintenanceReport503 message has received.

Definition at line 272 of file SessionListener.h.

virtual void onQuote ( const Messaging::Quote403 ,
Session  
)
inlinevirtual

Invoked when Quote403 message has received.

Definition at line 263 of file SessionListener.h.

virtual void onQuoteCancel ( const Messaging::QuoteCancel404 ,
Session  
)
inlinevirtual

Invoked when QuoteCancel404 message has received.

Definition at line 266 of file SessionListener.h.

virtual void onQuoteRequest ( const Messaging::QuoteRequest401 ,
Session  
)
inlinevirtual

Invoked when QuoteRequest401 message has received.

Definition at line 257 of file SessionListener.h.

virtual void onQuoteRequestReject ( const Messaging::QuoteRequestReject405 ,
Session  
)
inlinevirtual

Invoked when QuoteRequestReject405 message has received.

Definition at line 269 of file SessionListener.h.

virtual void onQuoteStatusReport ( const Messaging::QuoteStatusReport402 ,
Session  
)
inlinevirtual

Invoked when QuoteStatusReport402 message has received.

Definition at line 260 of file SessionListener.h.

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

Called as soon as bytes are received from the wire.

Definition at line 281 of file SessionListener.h.

virtual void onRetransmission ( const Messaging::Retransmission13 ,
Session  
)
inlinevirtual

Invoked when Retransmission13 message has received.

Definition at line 227 of file SessionListener.h.

virtual void onRetransmitReject ( const Messaging::RetransmitReject14 ,
Session  
)
inlinevirtual

Invoked when RetransmitReject14 message has received.

Definition at line 230 of file SessionListener.h.

virtual void onSecurityDefinitionResponse ( const Messaging::SecurityDefinitionResponse301 ,
Session  
)
inlinevirtual

Invoked when SecurityDefinitionResponse301 message has received.

Definition at line 254 of file SessionListener.h.

virtual void onSequence ( const Messaging::Sequence9 ,
Session  
)
inlinevirtual

Invoked when Sequence9 message has received.

Definition at line 224 of file SessionListener.h.

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

Called when the session changes its state.

Definition at line 287 of file SessionListener.h.

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

Invoked when Terminate7 message has received.

Definition at line 221 of file SessionListener.h.

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

Called when a warning condition is detected.

Note
the message argument provided is a message which caused the problem, must be checked to be valid before usage

Definition at line 295 of file SessionListener.h.


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