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 |
---|---|---|
![]() | AddChannelListener(INamespace, IChannelListener) |
Registers an IChannelListener for the specified namespace.
|
![]() | AddConnectionListener(IConnectionListener) |
Adds a connection listener that receives status events about the state of
the DataSource application's connection to other peers.
|
![]() | AddGenericChannelListener(INamespace, IChannelListener) |
Registers an IChannelListener for the specified namespace.
Use for Generic Messages
|
![]() | CreateActivePublisher(INamespace, IDataProvider) |
Creates an active publisher for the specified namespace.
|
![]() | 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.
|
![]() | CreateCompatibilityPublisher(INamespace, IDataProvider) |
Creates a compatibility publisher for the specified namespace.
|
![]() | FieldManager |
Provides access to the Field Manager associated with this DataSource.
|
![]() | Logger |
Gets or sets the logger used by DataSource.NET
|
![]() | MonitoringServer |
Gets the monitoring server for this DataSource.
|
![]() | Peers |
Gets a list of all the configured DataSource peers.
|
![]() | RemoveConnectionListener(IConnectionListener) |
Removes a previously registered connection listener.
|
![]() | SetStatusDown()()() |
Sets the status of this DataSource application to down.
|
![]() | SetStatusUp()()() |
Sets the status of this DataSource application to up.
|
![]() | Start()()() |
Starts this DataSource.
|
![]() | Stop()()() |
Stops this DataSource.
|
![](../icons/collapse_all.gif)
This interface is provided for ease of unit testing.