Class BlotterProvider

java.lang.Object
com.caplin.datasource.blotter.BlotterProvider

public class BlotterProvider extends 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 as BlotterApplicationListener.blotterChannelOpened(BlotterChannel) calls. For details of how to send BlotterItems, see BlotterChannel.

  • Constructor Details

    • BlotterProvider

      public BlotterProvider(com.caplin.datasource.DataSource dataSource, BlotterConfiguration blotterConfiguration, BlotterApplicationListener listener)
      Create a BlotterProvider registering your application.
      Parameters:
      dataSource - An unstarted DataSource
      blotterConfiguration - BlotterConfiguration for your application
      listener - Callback to your application on blotter channel and blotter item requests are recevied on this
  • Method Details

    • getVersion

      public String getVersion()

      Get the Blotter API version.

      Returns:
      version Version of the Blotter API in use