Package com.caplin.datasource.blotter
Class BlotterProvider
- java.lang.Object
-
- com.caplin.datasource.blotter.BlotterProvider
-
public class BlotterProvider extends java.lang.Object
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 asBlotterApplicationListener.blotterChannelOpened(BlotterChannel)
calls. For details of how to sendBlotterItem
s, seeBlotterChannel
.
-
-
Constructor Summary
Constructors Constructor Description BlotterProvider(com.caplin.datasource.DataSource dataSource, BlotterConfiguration blotterConfiguration, BlotterApplicationListener listener)
Create a BlotterProvider registering your application.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getVersion()
Get the Blotter API version.
-
-
-
Constructor Detail
-
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
-
-