After the Handler::start method is called, the Handler establishes an SSL connection to the ICE server and sends a Login Request. If the login is successful and the Login Response indicates no error, the Handler starts security definition recovery.
To indicate this, the Handler has two states:
The first state indicates that the Handler just started security definition recovery and will only send a product definition request. The second state indicates that all product definitions have been downloaded successfully, and that the Handler will start book resynchronization.
To download all the required product definitions, the Handler uses a set of market subscriptions, which are passed to the start method. Each product definition request requires market type and security type, so this information is extracted from subscriptions. For example, if a user wants to download product definitions for the following market subscriptions:
The handler will send two product definition requests. For each of these requests, the Handler should receive all available product definitions, or an Error Response if none are available for the requested parameters. The Handler automatically handles such Error Responses, and if an error is not critical, it continues working. If the error is critical and indicates something other than the absence of requested product definitions, the Handler will notify user code and stop.
If your application needs Strip Info Messages, you can set TcpServerSettings::getStripInfoMessages to true or specify this in the connectivity configuration file using the getStripInfoMessages element: