#include <HandlerState.h>
Public Types | |
enum | Enum { Stopped = 0, Stopping, Started, SecurityDefinitionsRecoveryStarted, SecurityDefinitionsRecoveryFinished, BooksResynchronizationStarted, BooksResynchronizationFinished } |
Static Public Member Functions | |
static const char * | toString (Enum state) |
Definition at line 27 of file HandlerState.h.
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. |
Definition at line 30 of file HandlerState.h.
|
static |
Returns string representation.