The OnixS::CME::ConflatedTCP::SessionStateId::Enum reflects all session states that can occur during its lifetime and what a specific state means.
The OnixS::CME::ConflatedTCP::Session::state member returns the current session state.
To be notified about a session state change, override the OnixS::CME::ConflatedTCP::SessionListener::onStateChange, and supply the class instance to the OnixS::CME::ConflatedTCP::Session's constructor.