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(),
onReIssue()1,
onClose()1, and
onPost()1. Applications only need to override methods for messages they want to process.