public interface BloombergSession
Modifier and Type | Method and Description |
---|---|
void |
start()
Starts a Bloomberg session asynchronously.
|
void |
stop()
Closes the session.
|
<T extends RequestResult> |
submit(RequestBuilder<T> request)
Submits a request to the Bloomberg Session and returns immediately.
|
void |
subscribe(SubscriptionBuilder subscription)
Subscribes to a stream of real time update.
|
void start() throws BloombergException
BloombergException
- if the bbcomm process is not running or could not be started, or if the session
could not be started asynchronouslyIllegalStateException
- if the session is already startedvoid stop()
<T extends RequestResult> Future<T> submit(RequestBuilder<T> request)
BloombergException
- if the session or the required service could not be started or if the
request execution could not be completed
CancellationException
- if the request execution was cancelled (interrupted) before completion
IllegalStateException
- if the start method was not called before this methodNullPointerException
- if request is nullvoid subscribe(SubscriptionBuilder subscription)
subscription
- contains the parameters of the real time data that needs to be monitored.Copyright © 2013. All Rights Reserved.