OnixS ICE iMpact Multicast Feed Handler for C++  3.13.0.0
Public Types | Static Public Member Functions | List of all members
HandlerStates Struct Reference

Available Handler's states. More...

Public Types

enum  Enum {
  Stopped = 0, Stopping, Started, SecurityDefinitionsRecoveryStarted,
  SecurityDefinitionsRecoveryFinished, BooksResynchronizationStarted, BooksResynchronizationFinished
}
 Available Handler's states. More...
 

Static Public Member Functions

static const char * toString (Enum state)
 Returns string representation.
 

Detailed Description

Available Handler's states.

Member Enumeration Documentation

enum Enum

Available Handler's states.

Enumerator
Stopped 

The Handler is stopped.

Stopping 

The Handler is stopping.

Started 

The Handler is started but no data processing is performed yet.

SecurityDefinitionsRecoveryStarted 

Download of security definition messages is started.

SecurityDefinitionsRecoveryFinished 

Download of security definition messages is finished.

BooksResynchronizationStarted 

The correct books state is lost.

Handler switches to this state when it joins the market and the initial books state is built from multicast messages or when the message sequence number gap is detected, so the book state should be re-built from multicast 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 ICE, so they are cleared.

BooksResynchronizationFinished 

The latest books state is restored.

Handler switches to this state when the the latest books state is restored (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 ICE.