To get understanding in which state the Handler currently is, it's necessary to implement the OnixS::CBOE::Trading::CMi2::HandlerStateListener class interface and associate an instance with the Handler using OnixS::CBOE::Trading::CMi2::Handler::registerHandlerStateListener member.
The table below describes all possible states for the Handler:
State | Description |
OnixS::CBOE::Trading::CMi2::HandlerState::Disconnected | Handler is disconnected or was not executed yet. |
OnixS::CBOE::Trading::CMi2::HandlerState::Disconnecting | The intermediate state when the Handler is not disconnected but not connected. |
OnixS::CBOE::Trading::CMi2::HandlerState::Connected | Handler is connected. |
OnixS::CBOE::Trading::CMi2::HandlerState::Connecting | The intermediate state when the Handler is not connected but not disconnected. |