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
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
BlotterChannelListenerto 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
Refer to the
BlotterConfigurationfor details on configuring this use case.
void onBlotterItemRequest(BlotterChannel channel, java.lang.String uniqueId)
Called when a previously unsubmitted item in a blotter channel is requested.
This callback enables a response to a blotter item request to be sent asynchronously, to respond to the request use
BlotterChannel.sendBlotterItem(com.caplin.datasource.blotter.BlotterItem)or if a not found is required use
BlotterChannel.sendBlotterItemNotFound(java.lang.String)both using the same uniqueId as an input.
channel- The user's blotter channel
uniqueId- The unique identifier for the blotter item in the channel