Callback Type | Action to Execute | Notes |
Subscription | addSubscribedCallback() | Adds a callback to be invoked upon subsequent successful subscriptions from this subscriber. Note that subscribeCb() and multipleSubscribeCb() specify update callbacks and not subscription callbacks. |
Update | addUpdateCallback() | Adds a callback to be invoked for subsequent subscriptions from this subscriber each time MDA delivers market data to your application. Note that if you add one or more update callbacks and then call the subscribeCb() or multipleSubscribeCb() action then the update callbacks you added are ignored and only the specified update callback is executed. See Sample code for adding update callbacks to subscriptions. |
Unsubscription | addUnsubscribedCallback() | Adds a callback to be invoked upon a successful unsubscribe action. Note that if you add one or more unsubscription callbacks and then call the unsubscribeCb() or multipleUnsubscribeCb() action then the unsubscription callbacks you added are ignored and only the specified callback is executed. |