Interface BlotterChannelListener


public interface BlotterChannelListener

Specifically for the case where there is more than one Integration Adapter providing for the same channel subject.

Register this listener on incoming channels from BlotterApplicationListener.blotterChannelOpened(com.caplin.datasource.blotter.BlotterChannel)

A use case for two Integration Adapters providing for the same channel is having one publishing which items are available (BlotterItems with no fields set) and another providing the row contents (BlotterItems with fields set). These item requests would be received by the content-providing Integration Adapter for items submitted to the available-items-providing Integration Adapter. These requests would be delegated to the BlotterChannelListener to be serviced by your application. Simply send the requested items through the above methods or submit a BlotterChannel.sendBlotterItemNotFound(java.lang.String) to the channel received on the BlotterChannelListener callback.

Refer to the BlotterConfiguration for details on configuring this use case.

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Called when a previously unsubmitted item in a blotter channel is requested.