Package com.caplin.datasource.blotter
Class BlotterProvider
java.lang.Object
com.caplin.datasource.blotter.BlotterProvider
This is the entry point into the Blotter API. The provider creates active publishers on the namespaces provided in
the
BlotterConfiguration. Incoming requests on the blotter channel namespace
are delegated to your application as
BlotterApplicationListener.blotterChannelOpened(BlotterChannel) calls. For
details of how to send BlotterItems, see BlotterChannel.-
Constructor Summary
ConstructorsConstructorDescriptionBlotterProvider(com.caplin.datasource.DataSource dataSource, BlotterConfiguration blotterConfiguration, BlotterApplicationListener listener) Create a BlotterProvider registering your application. -
Method Summary
-
Constructor Details
-
BlotterProvider
public BlotterProvider(com.caplin.datasource.DataSource dataSource, BlotterConfiguration blotterConfiguration, BlotterApplicationListener listener) Create a BlotterProvider registering your application.- Parameters:
dataSource- An unstarted DataSourceblotterConfiguration- BlotterConfiguration for your applicationlistener- Callback to your application on blotter channel and blotter item requests are recevied on this
-
-
Method Details
-
getVersion
Get the Blotter API version.- Returns:
- version Version of the Blotter API in use
-