Class BlotterChannelListener
- java.lang.Object
-
- com.caplin.motif.fx.ret.lbn.provider.BlotterChannelListener
-
- All Implemented Interfaces:
com.caplin.datasource.blotter.BlotterApplicationListener
public class BlotterChannelListener extends java.lang.Object implements com.caplin.datasource.blotter.BlotterApplicationListener
Handles requests and discards from the client, forwards them to the back end system, and creates listeners to handle back end response. - (longlife) created at initialisation lives until shutdown - (concurrent) may process parallel requests (ConcurrentHashMap), shares some state with all objects in class (containerSubjectToContainerMap)
-
-
Constructor Summary
Constructors Constructor Description BlotterChannelListener(com.caplin.motif.fx.ret.lbn.internal.RecordProviderFactory recordProviderFactory, BlotterCriteriaFactory criteriaFactory, ContainerSubjectFactory containerSubjectFactory, java.util.concurrent.ExecutorService executorService, com.caplin.ret.trapi.connection.LBNConnection connection, boolean removeUnmatchedRecords)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
blotterChannelClosed(com.caplin.datasource.blotter.BlotterChannel channel)
void
blotterChannelOpened(com.caplin.datasource.blotter.BlotterChannel blotterChannel)
-
-
-
Constructor Detail
-
BlotterChannelListener
public BlotterChannelListener(com.caplin.motif.fx.ret.lbn.internal.RecordProviderFactory recordProviderFactory, BlotterCriteriaFactory criteriaFactory, ContainerSubjectFactory containerSubjectFactory, java.util.concurrent.ExecutorService executorService, com.caplin.ret.trapi.connection.LBNConnection connection, boolean removeUnmatchedRecords)
-
-
Method Detail
-
blotterChannelOpened
public void blotterChannelOpened(com.caplin.datasource.blotter.BlotterChannel blotterChannel)
- Specified by:
blotterChannelOpened
in interfacecom.caplin.datasource.blotter.BlotterApplicationListener
-
blotterChannelClosed
public void blotterChannelClosed(com.caplin.datasource.blotter.BlotterChannel channel)
- Specified by:
blotterChannelClosed
in interfacecom.caplin.datasource.blotter.BlotterApplicationListener
-
-