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.
![](../icons/collapse_all.gif)
C# | Visual Basic | Visual C++ |
public interface IDataSource
Public Interface IDataSource
public interface class IDataSource
![](../icons/collapse_all.gif)
All Members | Methods | Properties | |||
Icon | Member | Description |
---|---|---|
![]() | 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.
|
![](../icons/collapse_all.gif)
This interface is provided for ease of unit testing.