Interface | Description |
com.apama.md.BBASubscriberFactory com.apama.md.BBASubscriber com.apama.md.DepthSubscriberFactory com.apama.md.DepthSubscriber com.apama.md.NewsSubscriberFactory com.apama.md.NewsSubscriber com.apama.md.OrderbookSubscriberFactory com.apama.md.OrderbookSubscriber com.apama.md.QuotebookSubscriberFactory com.apama.md.QuotebookSubscriber com.apama.md.TradeSubscriberFactory com.apama.md.TradeSubscriber | For each type of market data, there is a factory object and a subscriber object. The factory object for each type of market data provides the same actions. Likewise, the subscriber object for each type of market data provides the same actions. For example, the BBASubscriberFactory object lets you create a BBA subscriber, or create and also subscribe to BBA data. A subscription can be for a single symbol or for multiple symbols. The BBASubscriber object lets you manage the subscription to BBA data. You use it to subscribe, unsubscribe, set subscription parameters, override default error behavior, manage callbacks, and obtain information about the subscription. |
com.apama.md.HandlerErrorConstants | This object provides the possible values for the errorType parameter in a com.apama.utils.Error event of an error callback of a subscriber. They also provide the possible keys for the extraParams dictionary. |
com.apama.utils.Params | This object provides actions for adding, obtaining and removing parameters. |
com.apama.utils.Error | This object provides actions for setting and obtaining information associated with an error. |
To Do This | Execute |
Create a market data subscriber and subscribe to one symbol or subscribe to multiple symbols. | xxxSubscriberFactory.subscribe() xxxSubscriberFactory.multipleSubscribe() |
Create a market data subscriber and use that subscriber to subscribe to one symbol or to multiple symbols. | xxxSubscriberFactory.create() xxxSubscriber.subscribe() xxxSubscriber.multipleSubscribe() |