DataSource.NET
IDataSource Interface
NamespacesCaplin.DataSourceIDataSource
This interface defines the main interface of DataSoure.NET. In order to obtain an instance of this interface, you must create an instance of DataSource.
Declaration Syntax
C#Visual BasicVisual C++
public interface IDataSource
Public Interface IDataSource
public interface class IDataSource
Members
All MembersMethodsProperties



IconMemberDescription
AddConnectionListener(IConnectionListener)
Adds a connection listener that receives status events about the state of the DataSource application's connection to other peers.

CreateActiveSubscription(String, ISubscriptionListener)
Creates an active subscription to an individual subject.

CreateBroadcastPublisher(INamespace)
Creates a broadcast publisher for the specified namespace.

CreateBroadcastSubscription(INamespace, ISubscriptionListener)
Creates a subscription to many subjects. The scope of the subscription is defined by a namespace.

CreateSimplePublisher(INamespace)
Creates a simple publisher for the specified namespace.

Logger
Gets or sets the logger used by DataSource.NET

RemoveConnectionListener(IConnectionListener)
Removes a previously registered connection listener.

Start()()()
Starts this DataSource.

Stop()()()
Stops this DataSource.

Remarks

This interface is provided for ease of unit testing.

Assembly: DataSource.NET (Module: DataSource.NET) Version: 4.5.22.1 (4.5.22.1)