FRAMES NO FRAMES | ||||||
| ||||||
SUMMARY: IMPORT | CONSTANT | MEMBER | ACTION | DETAIL: IMPORT | CONSTANT | MEMBER | ACTION |
Member Summary | |
---|---|
action<string > | subscribe
Subscribe to the supplied symbol using the currently set parameters, update and error callbacks - which may be the defaults if not overridden. You can only subscribe to a specific symbol once per subscriber. |
action<string, action<com.apama.md.client.CurrentTradeInterface > > | subscribeCb
Subscribe to the supplied symbol using the supplied update callback and the currently set parameters and error callback which may be the defaults if not overridden. |
action<sequence<string > > | multipleSubscribe
Subscribe to the supplied sequence of symbols using the currently set parameters, update and error callback which may be the defaults if not overridden. You can only subscribe to a specific symbol once per subscriber. |
action<sequence<string >, action<com.apama.md.client.CurrentTradeInterface > > | multipleSubscribeCb
Subscribe to the supplied sequence of symbols using the supplied update callback and the currently set parameters and error callback which may be the defaults if not overridden. |
action<string > | unsubscribe
Unsubscribe from the supplied symbol. You can only unsubscribe from a symbol previously subscribed to by this subscriber. |
action<string, action<com.apama.md.TradeSubscriber, com.apama.md.adapter.ConnectionKey > > | unsubscribeCb
Unsubscribe from the supplied symbol and call the supplied callback when successfully unsubscribed. You can only unsubscribe from a symbol previously subscribed to by this subscriber. |
action<sequence<string > > | multipleUnsubscribe
Unsubscribe to the supplied sequence of symbols. You can only unsubscribe from a symbol previously subscribed to by this subscriber. |
action<sequence<string >, action<com.apama.md.TradeSubscriber, com.apama.md.adapter.ConnectionKey > > | multipleUnsubscribeCb
Unsubscribe to the supplied sequence of symbols and call the supplied callback per symbol when successfully unsubscribed. You can only unsubscribe from a symbol previously subscribed to by this subscriber. |
action<action<com.apama.md.client.CurrentTradeInterface > > returns integer | addUpdateCallback
Add this callback to the set called on data updates to be used in subsequent subscriptions. This does not affect any current subscriptions. |
action<integer > | removeUpdateCallback
Remove the Update callback identified by the result of "addUpdateCallback" from the set used in subsequent subscriptions. This does not affect any current subscriptions with registered update callbacks. |
action< > | clearUpdateCallbacks
Clear any currently set Update callbacks. |
action<action<com.apama.md.TradeSubscriber, com.apama.md.adapter.ConnectionKey > > returns integer | addSubscribedCallback
Add this callback to the set called on successful subscription. |
action<integer > | removeSubscribedCallback
Remove the Subscribed callback identified by the result of "addSubscribedCallback". |
action< > | clearSubscribedCallbacks
Clear any currently set Subscribed callbacks. |
action<action<com.apama.md.TradeSubscriber, com.apama.md.adapter.ConnectionKey > > returns integer | addUnsubscribedCallback
Add this callback to the set called on successful unsubscription. |
action<integer > | removeUnsubscribedCallback
Remove the Unsubscribe callback identified by the result of "addUnsubscribedCallback". |
action< > | clearUnsubscribedCallbacks
Clear any currently set Unsubscribe callbacks. |
action<action<com.apama.md.TradeSubscriber, com.apama.utils.Error > > returns integer | addErrorCallback
Add this Error callback to the set called on an error. |
action<integer > | removeErrorCallback
Remove the Error Callback identified by the result of "addErrorCallback". |
action< > | clearErrorCallbacks
Clear any currently set Error callbacks. |
action<com.apama.md.TradeSubscriber, com.apama.utils.Error > | defaultErrorCallback
Call the default Error callback as supplied by the subscriber (which logs the error at ERROR level). You may call this from an overridden Error callback (to get the log message) but it is not required. |
action<com.apama.utils.Params > | setParams
Set the Parameters in this subscriber to a copy of the supplied parameters, to be used in subsequent subscriptions. |
action< > returns com.apama.utils.Params | getParams
Get a copy of the current parameters of this subscriber. It has a default parameter "TRANSFER_MODE":"COMPOUND_DELTA". |
action< > returns com.apama.session.SessionHandler | getSessionHandler
Get the Session Handler associated with this subscriber. |
action<string > returns boolean | hasData
Find out if the supplied symbol has received any data. |
action<string > returns com.apama.md.client.CurrentTradeInterface | getCurrentTrade
Get the com.apama.md.client.CurrentTradeInterface for the supplied symbol, or an uninitialized interface if the symbol is unknown. |
action<string > returns com.apama.md.adapter.ConnectionKey | getConnectionKey
Get the Connection Key for the supplied symbol, or an uninitialized event if the symbol is unknown. |
action<string > returns boolean | isSubscribed
Find out if this subscriber has a current subscription for the supplied symbol. The subscription may still be subscribing. |
Member Detail |
---|
action<action<com.apama.md.TradeSubscriber, com.apama.utils.Error > > returns integer addErrorCallbackAdd this Error callback to the set called on an error.
action<action<com.apama.md.TradeSubscriber, com.apama.md.adapter.ConnectionKey > > returns integer addSubscribedCallbackAdd this callback to the set called on successful subscription.
action<action<com.apama.md.TradeSubscriber, com.apama.md.adapter.ConnectionKey > > returns integer addUnsubscribedCallbackAdd this callback to the set called on successful unsubscription.
action<action<com.apama.md.client.CurrentTradeInterface > > returns integer addUpdateCallbackAdd this callback to the set called on data updates to be used in subsequent subscriptions. This does not affect any current subscriptions.
action< > clearErrorCallbacksClear any currently set Error callbacks.
action< > clearSubscribedCallbacksClear any currently set Subscribed callbacks.
action< > clearUnsubscribedCallbacksClear any currently set Unsubscribe callbacks.
action< > clearUpdateCallbacksClear any currently set Update callbacks.
action<com.apama.md.TradeSubscriber, com.apama.utils.Error > defaultErrorCallbackCall the default Error callback as supplied by the subscriber (which logs the error at ERROR level). You may call this from an overridden Error callback (to get the log message) but it is not required.
action<string > returns com.apama.md.adapter.ConnectionKey getConnectionKeyGet the Connection Key for the supplied symbol, or an uninitialized event if the symbol is unknown.
action<string > returns com.apama.md.client.CurrentTradeInterface getCurrentTradeGet the com.apama.md.client.CurrentTradeInterface for the supplied symbol, or an uninitialized interface if the symbol is unknown.
action< > returns com.apama.utils.Params getParamsGet a copy of the current parameters of this subscriber. It has a default parameter "TRANSFER_MODE":"COMPOUND_DELTA".
action< > returns com.apama.session.SessionHandler getSessionHandlerGet the Session Handler associated with this subscriber.
action<string > returns boolean hasDataFind out if the supplied symbol has received any data.
action<string > returns boolean isSubscribedFind out if this subscriber has a current subscription for the supplied symbol. The subscription may still be subscribing.
action<sequence<string > > multipleSubscribeSubscribe to the supplied sequence of symbols using the currently set parameters, update and error callback which may be the defaults if not overridden. You can only subscribe to a specific symbol once per subscriber.
action<sequence<string >, action<com.apama.md.client.CurrentTradeInterface > > multipleSubscribeCbSubscribe to the supplied sequence of symbols using the supplied update callback and the currently set parameters and error callback which may be the defaults if not overridden.
action<sequence<string > > multipleUnsubscribeUnsubscribe to the supplied sequence of symbols. You can only unsubscribe from a symbol previously subscribed to by this subscriber.
action<sequence<string >, action<com.apama.md.TradeSubscriber, com.apama.md.adapter.ConnectionKey > > multipleUnsubscribeCbUnsubscribe to the supplied sequence of symbols and call the supplied callback per symbol when successfully unsubscribed. You can only unsubscribe from a symbol previously subscribed to by this subscriber.
action<integer > removeErrorCallbackRemove the Error Callback identified by the result of "addErrorCallback".
action<integer > removeSubscribedCallbackRemove the Subscribed callback identified by the result of "addSubscribedCallback".
action<integer > removeUnsubscribedCallbackRemove the Unsubscribe callback identified by the result of "addUnsubscribedCallback".
action<integer > removeUpdateCallbackRemove the Update callback identified by the result of "addUpdateCallback" from the set used in subsequent subscriptions. This does not affect any current subscriptions with registered update callbacks.
action<com.apama.utils.Params > setParamsSet the Parameters in this subscriber to a copy of the supplied parameters, to be used in subsequent subscriptions.
action<string > subscribeSubscribe to the supplied symbol using the currently set parameters, update and error callbacks - which may be the defaults if not overridden. You can only subscribe to a specific symbol once per subscriber.
action<string, action<com.apama.md.client.CurrentTradeInterface > > subscribeCbSubscribe to the supplied symbol using the supplied update callback and the currently set parameters and error callback which may be the defaults if not overridden.
action<string > unsubscribeUnsubscribe from the supplied symbol. You can only unsubscribe from a symbol previously subscribed to by this subscriber.
action<string, action<com.apama.md.TradeSubscriber, com.apama.md.adapter.ConnectionKey > > unsubscribeCbUnsubscribe from the supplied symbol and call the supplied callback when successfully unsubscribed. You can only unsubscribe from a symbol previously subscribed to by this subscriber.
FRAMES NO FRAMES | ||||||
| ||||||
SUMMARY: IMPORT | CONSTANT | MEMBER | ACTION | DETAIL: IMPORT | CONSTANT | MEMBER | ACTION |