Once the handler is started, it processes packets from security definition and multicast feeds. To get understanding in which state the Handler currently is, it's necessary to implement OnixS::Xetra::MarketData::MDI::HandlerStateChangeListener class interface and associate an instance with the Handler using OnixS::Xetra::MarketData::MDI::Handler::registerStateChangeListener member.
Below table describes all possible states for the handler:
State | Description |
OnixS::Xetra::MarketData::MDI::HandlerState::Stopped | The handler is stopped or was not executed yet. |
OnixS::Xetra::MarketData::MDI::HandlerState::Stopping | The intermediate state when the handler is not Stopped but not Started. |
OnixS::Xetra::MarketData::MDI::HandlerState::Started | The handler is started. |
OnixS::Xetra::MarketData::MDI::HandlerState::Starting | The intermediate state when the handler is not Started but not Stopped. |