Interface LayerApiListenable

All Superinterfaces:
Layer1ApiAdminListenable, Layer1ApiDataListenable, Layer1ApiInstrumentListenable, Layer1ApiMboDataListenable, Layer1ApiTradingListenable
All Known Subinterfaces:
Layer1ApiProvider
All Known Implementing Classes:
ExternalLiveBaseProvider, ExternalReaderBaseProvider, Layer1ApiBasicListenable, Layer1ApiDepthFreezer, Layer1ApiInjectorRelay, Layer1ApiRelay, Layer1ApiStrategiesEchoMessagesLayer, Layer1ApiUpstreamRelay

Extends all Layer1 listenable interfaces. Anything that emits upstream events (a data provider or a layer) implements this so that the layer above can subscribe to it.

Listeners are registered per interface: an object implementing several listener interfaces must be added through each matching addListener overload to receive all of its events. ListenableHelper does this in one call. Layer1ApiBasicListenable is the standard implementation.