DataSource.NET
7.1.27.94946-7eb8eb54
|
The ICompatibilityPublisher passes all requests and discards from remote DataSource peers to the IDataProvider. The IDataProvider implementation is responsible for keeping track of the number of requests received; it must only stop supplying data for a subject when there are no peers subcribing to it.
This publisher implementation corresponds to the behaviour of the DataSource 4.4 API.
An ICompatibilityPublisher can be created using the Caplin.DataSource.DataSource.CreateCompatibilityPublisher method.
The IActivePublisher passes all requests and the discard corresponding to the last DataSource peer to unsubscribe to the IDataProvider. The IDataProvider implementation is responsible for keeping track of the number of requests received; it must only stop supplying data for a subject when there are no peers subcribing to it.
An IActivePublisher can be created using the Caplin.DataSource.DataSource.CreateActivePublisher method.
The BroadcastPublisher will publish messages to all connected DataSource peers. The use of an IBroadcastPublisher is not recommended due to the detrimental effects that broadcast data has on reliable and predictable failover between DataSource components.