EMA C++ Training Examples : EMA C++ Interactive Provider Examples : 200 Series Examples : 240_SourceDirectory_Fanout
 
240_SourceDirectory_Fanout
Summary
=======
 
240_SourceDirectory_Fanout 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.
 
240_SourceDirectory_Fanout illustrates how to create and publish a single OMM
streaming item. This application uses hardcoded source directory configuration.
 
 
Detailed Description
====================
 
240_SourceDirectory_Fanout implements the following high-level steps:
 
+ Instantiates and modifies an OmmIProviderConfig object:
- Sets the listening port to “14002”
+ Instantiates an OmmProvider object which:
- listens on the above port
+ Accepts a login request
+ Processes an item request (MarketPrice) and creates requested item (streaming refresh)
and publishes it on requested service
+ After submitting refresh and 10 updates,
sends a directory update with service state change
+ All other domains are status closed
+ 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.