com.apama.md
Event QuotebookSubscriberFactory


Factory event to construct fully initialized QuotebookSubscriber interface events. It also provides helper actions to allow commonly used functionality from the Handler to be run in a single line, such as subscribing.
Since:
CMF 5.1.0
See Also:
com.apama.md.QuotebookSubscriber - The subscriber interface this Factory will create.
com.apama.session.SessionHandler - The Session Handler this MD Handler will connect to.

Action Summary
 com.apama.md.QuotebookSubscriberstatic create(com.apama.session.SessionHandler sessionHandler)

Create a QuotebookSubscriber interface connected to the underlying supplied Session Handler.
 com.apama.md.QuotebookSubscriberstatic multipleSubscribe(com.apama.session.SessionHandler sessionHandler, sequence<string > symbols)

Create a QuotebookSubscriber interface connected to the underlying supplied Session Handler and automatically start subscription to the supplied sequence of symbols.
 com.apama.md.QuotebookSubscriberstatic multipleSubscribeCb(com.apama.session.SessionHandler sessionHandler, sequence<string > symbols, action<com.apama.md.client.CurrentQuotebookInterface > cbUpdate)

Create a QuotebookSubscriber interface connected to the underlying supplied Session Handler and automatically start subscription to the supplied sequence of symbols with the supplied update callback action.
 com.apama.md.QuotebookSubscriberstatic subscribe(com.apama.session.SessionHandler sessionHandler, string symbol)

Create a QuotebookSubscriber interface connected to the underlying supplied Session Handler and automatically start subscription to the supplied symbol.
 com.apama.md.QuotebookSubscriberstatic subscribeCb(com.apama.session.SessionHandler sessionHandler, string symbol, action<com.apama.md.client.CurrentQuotebookInterface > cbUpdate)

Create a QuotebookSubscriber interface connected to the underlying supplied Session Handler and automatically start subscription to the supplied symbol with the supplied update callback action.
 
Action Detail

create

com.apama.md.QuotebookSubscriber static create(com.apama.session.SessionHandler sessionHandler)
Create a QuotebookSubscriber interface connected to the underlying supplied Session Handler.
Parameters:
sessionHandler - The Session Handler this Handler will connect to.
Returns:
A constructed QuotebookSubscriber.
See Also:
com.apama.session.SessionHandler - 

multipleSubscribe

com.apama.md.QuotebookSubscriber static multipleSubscribe(com.apama.session.SessionHandler sessionHandler, sequence<string > symbols)
Create a QuotebookSubscriber interface connected to the underlying supplied Session Handler and automatically start subscription to the supplied sequence of symbols.
Parameters:
sessionHandler - The Session Handler this subscriber will connect to.
symbols - A sequence of symbols to subscribe to.
Returns:
A constructed QuotebookSubscriber.
See Also:
com.apama.session.SessionHandler - 

multipleSubscribeCb

com.apama.md.QuotebookSubscriber static multipleSubscribeCb(com.apama.session.SessionHandler sessionHandler, sequence<string > symbols, action<com.apama.md.client.CurrentQuotebookInterface > cbUpdate)
Create a QuotebookSubscriber interface connected to the underlying supplied Session Handler and automatically start subscription to the supplied sequence of symbols with the supplied update callback action.
Parameters:
sessionHandler - The Session Handler this subscriber will connect to.
symbols - A sequence of symbols to subscribe to.
cbUpdate - The update callback.
Returns:
A constructed QuotebookSubscriber.
See Also:
com.apama.session.SessionHandler - 

subscribe

com.apama.md.QuotebookSubscriber static subscribe(com.apama.session.SessionHandler sessionHandler, string symbol)
Create a QuotebookSubscriber interface connected to the underlying supplied Session Handler and automatically start subscription to the supplied symbol.
Parameters:
sessionHandler - The Session Handler this Handler will connect to.
symbol - The symbol to subscribe to.
Returns:
A constructed QuotebookSubscriber.
See Also:
com.apama.session.SessionHandler - 

subscribeCb

com.apama.md.QuotebookSubscriber static subscribeCb(com.apama.session.SessionHandler sessionHandler, string symbol, action<com.apama.md.client.CurrentQuotebookInterface > cbUpdate)
Create a QuotebookSubscriber interface connected to the underlying supplied Session Handler and automatically start subscription to the supplied symbol with the supplied update callback action.
Parameters:
sessionHandler - The Session Handler this subscriber will connect to.
symbol - The symbol to subscribe to.
cbUpdate - The update callback.
Returns:
A constructed QuotebookSubscriber.
See Also:
com.apama.session.SessionHandler -