The OmmConsumerClient class provides a callback mechanism through which applications receive OMM messages on items for which they subscribe. The OmmConsumerClient is a parent class that implements empty, default callback methods. Applications must implement their own class (inheriting from OmmConsumerClient), 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 OmmConsumerClient class provides default implementation for the processing of RefreshMsg, UpdateMsg, StatusMsg, AckMsg and GenericMsg messages. These messages are processed by their respectively named methods: onRefreshMsg(), onUpdateMsg(), onStatusMsg(), onAckMsg(), and onGenericMsg(). oApplications only need to override methods for messages they want to process.