EMA C++ Training Examples : EMA C++ Interactive Provider Examples : 300 Series Examples : 331_Directory_UserControl
 
331_Directory_UserControl
Summary
=======
 
331_Directory_UserControl is an example of an OMM Interactive Provider application
written to the EMA library.
 
This application demonstrates the basic usage of the EMA library in providing
of OMM MarketPrice data to the Advanced Distribution Hub.
 
331_Directory_UserControl illustrates how to create and publish a single OMM
streaming item. This application will push source directory refresh message.
 
 
Detailed Description
====================
 
331_Directory_UserControl implements the following high-level steps:
 
+ Instantiates and modifies an OmmIProviderConfig object.
- Set the admin control to use user control
+ Instantiates an OmmProvider object which:
- listens on the port from the EmaConfig.xml file
+ Accepts a login request
+ Processes a source directory request.
- Pulishes a source directory refresh message
+ Processes an item request for MarketPrice domain.
- Creates streaming item (refresh and updates) and publishes them
- Publishes updates 1 per second for total 60 updates.
+ Rejects subsequent item requests.
+ Exits
 
Note: If needed, these and other details may be modified to fit your local
environment. For details on standard configuration, refer to the EMA library
ReadMe.txt file and EMA Configuration Guide.