DataSource.NET
Publishing Data

Subscription based Publishers

Simple Publisher

The SimplePublisher 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.

An ISimplePublisher can be created using the Caplin.DataSource.DataSource.CreateSimplePublisher method.

Broadcast Publisher

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.