OnixS C++ CME MDP Conflated UDP Handler  1.1.2
API documentation
HandlerListener Struct Reference

#include <OnixS/CME/ConflatedUDP/HandlerListener.h>

Public Member Functions

virtual void onStarted (Handler &)
 
virtual void onStopped (Handler &)
 
virtual void onInstrumentRecovery (Handler &)
 
virtual void onEndOfInstrumentRecovery (Handler &, const RecoveryCompletionArgs &)
 
virtual void onMarketRecovery (Handler &)
 
virtual void onEndOfMarketRecovery (Handler &, const RecoveryCompletionArgs &)
 
virtual void onTcpRecovery (Handler &)
 
virtual void onEndOfTcpRecovery (Handler &, const RecoveryCompletionArgs &)
 
virtual void onRealtimeProcessing (Handler &)
 
virtual void onEndOfRealtimeProcessing (Handler &)
 
virtual void onWarning (Handler &, const WarningArgs &)
 
virtual void onError (Handler &, const ErrorArgs &)
 

Detailed Description

Definition at line 203 of file HandlerListener.h.

Member Function Documentation

virtual void onEndOfInstrumentRecovery ( Handler ,
const RecoveryCompletionArgs  
)
inlinevirtual

Download or replay of Security Definition(d) messages is finished.

Definition at line 230 of file HandlerListener.h.

virtual void onEndOfMarketRecovery ( Handler ,
const RecoveryCompletionArgs  
)
inlinevirtual

Handler accomplished recovering order books from snapshots.

Handler switches to this state when the latest books state is restored from MarketDataSnapshotFullRefresh (MsgType=W) messages (all snapshot data is retrieved).

It should be assumed at this point that all books maintained in the Handler have the correct, latest state maintained by CME.

Definition at line 264 of file HandlerListener.h.

virtual void onEndOfRealtimeProcessing ( Handler )
inlinevirtual

Handler suspended real-time processing of market data received over incremental feeds.

Definition at line 298 of file HandlerListener.h.

virtual void onEndOfTcpRecovery ( Handler ,
const RecoveryCompletionArgs  
)
inlinevirtual

Handler accomplished recovery of lost packets over TCP feed.

Definition at line 280 of file HandlerListener.h.

virtual void onError ( Handler ,
const ErrorArgs  
)
inlinevirtual

Error occurred while Handler is processing market data. In contrast to warnings, given issue indicates the fact Handler fell into a conditions which are not supposed to take place (for example, book update failed due to corrupted data). Handler will handle an issue by itself, thus no special handling is required for the case.

Definition at line 323 of file HandlerListener.h.

virtual void onInstrumentRecovery ( Handler )
inlinevirtual

Download or replay of Security Definition(d) messages is started.

Definition at line 223 of file HandlerListener.h.

virtual void onMarketRecovery ( Handler )
inlinevirtual

Handler started recovering order books from snapshots.

Handler switches to this state when it joins the market and the initial books state is built from MarketDataSnapshotFullRefresh (MsgType=W) messages or when the TCP Recovery is not used and the message sequence number gap is detected, so the book state should be re-built from MarketDataSnapshotFullRefresh (MsgType=W) messages again.

It should be assumed at this point that all books maintained in the Handler may no longer have the correct, latest state maintained by CME, so they are cleared.

Definition at line 250 of file HandlerListener.h.

virtual void onRealtimeProcessing ( Handler )
inlinevirtual

Handler resumed real-time processing of market data received over incremental feeds.

Definition at line 290 of file HandlerListener.h.

virtual void onStarted ( Handler )
inlinevirtual

Handler is has started to process market data.

Definition at line 209 of file HandlerListener.h.

virtual void onStopped ( Handler )
inlinevirtual

Invoked when Handler has stopped market data processing.

Definition at line 216 of file HandlerListener.h.

virtual void onTcpRecovery ( Handler )
inlinevirtual

Handler spawned recovery of lost packets over TCP feed.

Definition at line 273 of file HandlerListener.h.

virtual void onWarning ( Handler ,
const WarningArgs  
)
inlinevirtual

Non-critical issue occurred while Handler is processing market data. Handler will handle an issue by itself, thus no special handling is required for the case. Supplied parameters exposes details information on the issue.

Definition at line 309 of file HandlerListener.h.


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