Available Handler's states. More...
Public Types | |
enum | Enum { Stopped = 0, Started, SecurityDefinitionsRecoveryStarted, SecurityDefinitionsRecoveryFinished, BooksResynchronizationStarted, BooksResynchronizationFinished, TcpReplayStarted, TcpReplayFinished } |
Available Handler's states. More... | |
Static Public Member Functions | |
static Enum | deserialize (const char *) |
Deserializes state from symbolic presentation. | |
static const char * | toString (Enum state) |
Returns string representation of a state. | |
Available Handler's states.
enum Enum |
Available Handler's states.
Enumerator | |
---|---|
Stopped |
Handler is stopped. |
Started |
Handler is started but no data processing is performed yet. |
SecurityDefinitionsRecoveryStarted |
Download or replay of Security Definition(d) messages is started. |
SecurityDefinitionsRecoveryFinished |
Download or replay of Security Definition(d) 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 MarketDataSnapshotFullRefresh (MsgType=W) messages or when the TcpReplay 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. |
BooksResynchronizationFinished |
The latest books state is restored. Handler switches to this state when the 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. |
TcpReplayStarted |
Handler initiated retransmission of lost packets over TCP replay channel. |
TcpReplayFinished |
Handler accomplished retransmission of lost packets over TCP replay channel. |