The StockManager component allows a client to request notification of changes in the value of selected stocks. When a stock value changes, all clients that have requested notification of changes in that stock are notified (asynchronously).
How to run the StockManager demo:
The hand-coded files used by this sample are as follows:
All other files used by this sample are Jaguar-generated files.
void addStockFilter
(
in EventSamples::StockFilter filter
);
EventSamples::StockFilters listStockFilters
(
);
long newStockEventId
(
);
EventSamples::StockEvent pullStockEvent
(
in long lastId
);
void pushStockEvent
(
in EventSamples::StockEvent event
);
void removeStockFilter
(
in EventSamples::StockFilter filter
);