Click or drag to resize

IAdapter Interface

Represents the abstract interface for any adapter.

Namespace: GSF.TimeSeries.Adapters
Assembly: GSF.TimeSeries (in GSF.TimeSeries.dll) Version: 2.4.218-beta
Syntax
public interface IAdapter : ISupportLifecycle, 
	IDisposable, IProvideStatus

The IAdapter type exposes the following members.

Properties
 NameDescription
Public propertyAutoStart Gets or sets flag indicating if adapter should automatically start or connect on demand.
Public propertyConnectionInfo Gets connection info for adapter, if any.
Public propertyConnectionString Gets or sets key/value pair connection information specific to IAdapter.
Public propertyDataSource Gets or sets DataSet based data source available to IAdapter.
Public propertyEnabled Gets or sets a boolean value that indicates whether the object is enabled.
(Inherited from ISupportLifecycle)
Public propertyID Gets or sets the numeric ID associated with this IAdapter.
Public propertyInitializationTimeout Gets or sets maximum time system will wait during Start for initialization.
Public propertyInitialized Gets or sets flag indicating if the adapter has been initialized successfully.
Public propertyInputMeasurementKeys Gets or sets primary keys of input measurements the adapter expects.
Public propertyIsDisposed Gets a flag that indicates whether the object has been disposed.
(Inherited from ISupportLifecycle)
Public propertyName Gets or sets name of this IAdapter.
Public propertyOutputMeasurements Gets or sets output measurements that the adapter will produce, if any.
Public propertyProcessedMeasurements Gets the total number of measurements processed thus far by the IAdapter.
Public propertyProcessingInterval Gets or sets the desired processing interval, in milliseconds, for the adapter.
Public propertySettings Gets settings DictionaryTKey, TValue parsed when ConnectionString was assigned.
Public propertyStartTimeConstraint Gets the start time temporal processing constraint defined by call to SetTemporalConstraint(String, String, String).
Public propertyStatus Gets the current status details about object providing status information.
(Inherited from IProvideStatus)
Public propertyStopTimeConstraint Gets the stop time temporal processing constraint defined by call to SetTemporalConstraint(String, String, String).
Public propertySupportsTemporalProcessing Gets the flag indicating if this adapter supports temporal processing.
Top
Methods
 NameDescription
Public methodDisposePerforms application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from IDisposable)
Public methodGetShortStatus Gets a short one-line adapter status.
Public methodInitialize Initializes the state of the object.
(Inherited from ISupportLifecycle)
Public methodSetTemporalConstraint Defines a temporal processing constraint for the adapter.
Public methodStart Starts the adapter, if it is not already running.
Public methodStop Stops the adapter.
Top
Events
 NameDescription
Public eventConfigurationChanged Event is raised when adapter is aware of a configuration change.
Public eventDisposed Raised after the source object has been properly disposed.
(Inherited from ISupportLifecycle)
Public eventInputMeasurementKeysUpdated Event is raised when InputMeasurementKeys are updated.
Public eventOutputMeasurementsUpdated Event is raised when OutputMeasurements are updated.
Public eventProcessException Event is raised when there is an exception encountered while processing.
Public eventStatusMessage Provides status messages to consumer.
Top
Extension Methods
 NameDescription
Public Extension MethodGetMeasurementRecord Gets measurement record, creating it if needed.
(Defined by MetadataHelpers)
Public Extension MethodGetParentDevice Gets ID of parent device, creating or updating record if needed, for the current IAdapter instance.
(Defined by MetadataHelpers)
Public Extension MethodInputMeasurementKeys Returns the MeasurementKey values of the IAdapter input measurements.
(Defined by IAdapterExtensions)
Public Extension MethodLookupDevice Looks up associated device acronym and ID from provided signalID.
(Defined by MetadataHelpers)
Public Extension MethodLookupMeasurementKey Looks up or creates measurement key based on provided signalID.
(Defined by MetadataHelpers)
Public Extension MethodLookupPointTag Looks up point tag name from provided signalID.
(Defined by MetadataHelpers)
Public Extension MethodLookupSignalReference Looks up signal reference from provided signalID.
(Defined by MetadataHelpers)
Public Extension MethodOnConfigurationChanged Notifies host system of configuration changes.
(Defined by MetadataHelpers)
Public Extension MethodOutputMeasurementKeys Returns the MeasurementKey values of the IAdapter output measurements.
(Defined by IAdapterExtensions)
Public Extension MethodPointTagExists Determines if pointTag exists in local configuration.
(Defined by MetadataHelpers)
Public Extension MethodSignalIDExists Determines if signalID exists in local configuration.
(Defined by MetadataHelpers)
Public Extension MethodSignalReferenceExists Determines if signalReference exists in local configuration.
(Defined by MetadataHelpers)
Public Extension MethodTemporalConstraintIsDefined Returns true if IAdapter has a temporal constraint defined, i.e., either StartTimeConstraint or StopTimeConstraint is not set to its default value.
(Defined by IAdapterExtensions)
Public Extension MethodWaitForSignalsToLoad Waits for signalIDs to be loaded in system configuration.
(Defined by MetadataHelpers)
Top
See Also