zeitgeist-sharp : Zeitgeist Namespace

DataSourceClient Class

The Zeitgeist engine maintains a publicly available list of recognized data-sources (components inserting information into Zeitgeist). An option to disable such data-providers is also provided.

public class DataSourceClient

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: Zeitgeist
Assembly: zeitgeist-sharp (in zeitgeist-sharp.dll)
Assembly Versions: 0.8.0.0

Members

See Also: Inherited members from object.

Public Constructors

The constructor for DataSourceClient

Public Methods

GetDataSources () : List<Zeitgeist.Datamodel.DataSource>
Get the list of known data-sources.
RegisterDataSources (string, string, string, List<Zeitgeist.Datamodel.Event>) : bool
Register a data-source as currently running. If the data-source was already in the database, its metadata (name, description and event_templates) are updated.

Public Events

DataSourceDisconnected This signal is emitted whenever the last running instance of a data-source disconnects.
DataSourceEnabled This signal is emitted whenever a data-source is enabled or disabled.
DataSourceRegistered This signal is emitted whenever a data-source registers itself.

Member Details

DataSourceClient Constructor

The constructor for DataSourceClient

public DataSourceClient ()

Remarks

This constructor gets the DBus object for DataSource which the object's methods use. Additionally it chains the events from IDataSource to DataSourceClient

Requirements

Namespace: Zeitgeist
Assembly: zeitgeist-sharp (in zeitgeist-sharp.dll)
Assembly Versions: 0.8.0.0

DataSourceDisconnected Event

This signal is emitted whenever the last running instance of a data-source disconnects.

public event DataSourceDisconnectedHandler DataSourceDisconnected

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: Zeitgeist
Assembly: zeitgeist-sharp (in zeitgeist-sharp.dll)
Assembly Versions: 0.8.0.0

DataSourceEnabled Event

This signal is emitted whenever a data-source is enabled or disabled.

public event DataSourceEnabledHandler DataSourceEnabled

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: Zeitgeist
Assembly: zeitgeist-sharp (in zeitgeist-sharp.dll)
Assembly Versions: 0.8.0.0

DataSourceRegistered Event

This signal is emitted whenever a data-source registers itself.

public event DataSourceRegisteredHandler DataSourceRegistered

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: Zeitgeist
Assembly: zeitgeist-sharp (in zeitgeist-sharp.dll)
Assembly Versions: 0.8.0.0

GetDataSources Method

Get the list of known data-sources.

public List<Zeitgeist.Datamodel.DataSource> GetDataSources ()

Returns

A list of DataSource of type System.Collection.Generic.List<Zeitgeist.Datamodel.Event>

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: Zeitgeist
Assembly: zeitgeist-sharp (in zeitgeist-sharp.dll)
Assembly Versions: 0.8.0.0

RegisterDataSources Method

Register a data-source as currently running. If the data-source was already in the database, its metadata (name, description and event_templates) are updated.

public bool RegisterDataSources (string uniqueId, string name, string description, List<Zeitgeist.Datamodel.Event> events)

Parameters

uniqueId
The uniqueId DataSource of type string
name
The name of the DataSource of type string
description
Description of DataSource of type string
events
A list of Event templates of type System.Collection.Generic.List<Zeitgeist.Datamodel.Event>

Returns

true is successful, false otherwise bool

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: Zeitgeist
Assembly: zeitgeist-sharp (in zeitgeist-sharp.dll)
Assembly Versions: 0.8.0.0