DataSource.NET
ICompatibilityPublisher Interface
NamespacesCaplin.DataSource.PublisherICompatibilityPublisher
This implementation of IPublisher sends its associated IDataProvider all requests and discards for the subjects defined by the associated INamespace.
Declaration Syntax
C#Visual BasicVisual C++
public interface ICompatibilityPublisher : IPublisher
Public Interface ICompatibilityPublisher _
	Implements IPublisher
public interface class ICompatibilityPublisher : IPublisher
Members
All MembersMethodsProperties



IconMemberDescription
MessageFactory
Gets the IMessageFactory used to create the messages that are published via this publisher.
(Inherited from IPublisher.)
PublishInitialMessage(IMessage)
Publishes the initial message of the data for a Subject to peers that have just requested (subscribed to) that subject.
(Inherited from IPublisher.)
PublishSubjectErrorEvent(ISubjectErrorEvent)
Publishes to all peers subscribed to a subject an event detailing an error in the subscription for that subject. Typically an IDataProvider will use this to notify the remote peers that an string they are subscribed to is no longer available.
(Inherited from IPublisher.)
PublishSubjectStatusEvent(ISubjectStatusEvent)
Publishes to all subscribed peers an event about the change in status of a subject.
(Inherited from IPublisher.)
PublishToSubscribedPeers(IMessage)
Publishes a message to subscribed peers (that is, the peers that have already received an initial image).
(Inherited from IPublisher.)
Remarks

The IDataProvider implementation must call [!:Caplin.DataSource.Publisher.IPublisher.PublishInitialImage] to ensure that each requesting (subscribing) peer receives an initial image. Each call to PublishInitialImage sends the image to all peers that have requested the subject since the previous call to PublishInitialImage.

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 more peers subscribing to that subject.

Assembly: DataSource.NET (Module: DataSource.NET) Version: 6.0.12.814 (6.0.12.0814)