EMA C++ Developers Guide : 5 Provider Classes : 5.2 OmmProviderClient Class
 
5.2 OmmProviderClient Class
5.2.1 OmmProviderClient Description
The OmmProviderClient class provides a callback mechanism through which applications receive OMM messages on items for which they subscribe. The OmmProviderClient is a parent class that implements empty, default callback methods. Applications must implement their own class (inheriting from OmmProviderClient), and override the methods they are interested in processing. Applications can implement many specialized client-type classes; each according to their business needs and design. Instances of client-type classes are associated with individual items while applications register item interests. The OmmProviderClient class provides default implementation for the processing of RefreshMsg, StatusMsg, and GenericMsg messages. These messages are processed by their respectively named methods: onRefreshMsg(), onStatusMsg(), onGenericMsg(), onRequest()1, onReIssue()1, onClose()1, and onPost()1. Applications only need to override methods for messages they want to process.

1 Interactive Provider Only