Creates a multiple request and multiple discard publisher for the specified namespace.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public ICompatibilityPublisher CreateCompatibilityPublisher( INamespace nameSpace, IDataProvider provider )
Public Function CreateCompatibilityPublisher ( _ nameSpace As INamespace, _ provider As IDataProvider _ ) As ICompatibilityPublisher
public: virtual ICompatibilityPublisher^ CreateCompatibilityPublisher( INamespace^ nameSpace, IDataProvider^ provider ) sealed
Parameters
- nameSpace (INamespace)
- The namespace (see remarks).
- provider (IDataProvider)
- Your implementation of IDataProvider that the publisher will call.
Return Value
A simple publisher for the supplied namespace.
Remarks
An IMultipleRequestMultipleDiscardPublisher publishes updates that are for subjects within
the specified INamespace, to all peers that have subscribed to those subjects.
Because it does not maintain a cache, this publisher passes all requests and discards for such subjects
on to the IDataProvider.