Click or drag to resize

IIndependentAdapterManager Interface

Represents the interface for implementations of independent adapter collection managers.

Namespace: GSF.TimeSeries.Adapters
Assembly: GSF.TimeSeries (in GSF.TimeSeries.dll) Version: 2.4.181-beta
Syntax
View Source

The IIndependentAdapterManager type exposes the following members.

Properties
 NameDescription
Public propertyAdapterIDCounter Gets or sets current adapter ID counter.
Public propertyAlternateTagTemplate Gets or sets template for output measurement alternate tag names.
Public propertyAutoReparseConnectionString Gets or sets flag that determines if the IndependentActionAdapterManagerBaseTAdapter instance ConnectionString should be automatically parsed every time the DataSource is updated without requiring adapter to be reinitialized.
Public propertyAutoStart Gets or sets flag indicating if adapter should automatically start or connect on demand.
(Inherited from IAdapter)
Public propertyConfigurationReloadedWaitHandle Gets or sets wait handle used by IndependentActionAdapterManagerBaseTAdapter instance to manage waiting for changes to be loaded in system configuration.
Public propertyConfigurationReloadWaitAttempts Gets or sets the total number of attempts to wait for system configuration reloads when waiting for configuration updates to be available.
Public propertyConfigurationReloadWaitTimeout Gets or sets the wait timeout, in milliseconds, that system wait for system configuration reload to complete.
Public propertyConnectionInfo Gets connection info for adapter, if any.
(Inherited from IAdapter)
Public propertyConnectionString Gets or sets key/value pair connection information specific to IAdapter.
(Inherited from IAdapter)
Public propertyCountGets the number of elements contained in the ICollectionT.
(Inherited from ICollectionIAdapter)
Public propertyCurrentAdapterIndex Gets adapter index currently being processed.
Public propertyCurrentDeviceID Gets associated device ID for CurrentAdapterIndex, if any, for measurement generation.
Public propertyCurrentOutputIndex Gets adapter output index currently being processed.
Public propertyCustomAdapterSettings Gets any custom adapter settings to be added to each adapter connection string. Can be used to add settings that are custom per adapter.
Public propertyDatabaseConnectionString Gets or sets the connection string used for database operations. Leave blank to use local configuration database defined in "systemSettings".
Public propertyDatabaseProviderString Gets or sets the provider string used for database operations. Defaults to a SQL Server provider string.
Public propertyDataMember Gets or sets specific data member (e.g., table name) in DataSource used to initialize this IAdapterCollection.
(Inherited from IAdapterCollection)
Public propertyDataSource Gets or sets DataSet based data source available to IAdapter.
(Inherited from IAdapter)
Public propertyDescriptionTemplate Gets or sets template for output measurement descriptions.
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.
(Inherited from IAdapter)
Public propertyInitializationTimeout Gets or sets maximum time system will wait during Start for initialization.
(Inherited from IAdapter)
Public propertyInitialized Gets or sets flag indicating if the adapter has been initialized successfully.
(Inherited from IAdapter)
Public propertyInputMeasurementIndexUsedForName Gets or sets the index into the per adapter input measurements to use for target adapter name.
Public propertyInputMeasurementKeys Gets or sets primary keys of input measurements the adapter expects.
(Inherited from IAdapter)
Public propertyInputMeasurementKeyTypes Gets input measurement SignalType's for each of the InputMeasurementKeys, if any.
Public propertyIsDisposed Gets a flag that indicates whether the object has been disposed.
(Inherited from ISupportLifecycle)
Public propertyIsReadOnlyGets a value indicating whether the ICollectionT is read-only.
(Inherited from ICollectionIAdapter)
Public propertyItemGets or sets the element at the specified index.
(Inherited from IListIAdapter)
Public propertyName Gets or sets name of this IAdapter.
(Inherited from IAdapter)
Public propertyOriginalDataMember Gets original data member setting for IIndependentAdapterManager instance.
Public propertyOutputMeasurements Gets or sets output measurements that the adapter will produce, if any.
(Inherited from IAdapter)
Public propertyOutputMeasurementTypes Gets output measurement SignalType's for each of the OutputMeasurements, if any.
Public propertyParentDeviceAcronymTemplate Gets or sets template for the parent device acronym used to group associated output measurements.
Public propertyPerAdapterInputCount Gets number of input measurement required by each adapter.
Public propertyPerAdapterOutputNames Gets output measurement names to use for each adapter.
Public propertyPointTagTemplate Gets or sets template for output measurement point tag names.
Public propertyProcessedMeasurements Gets the total number of measurements processed thus far by the IAdapter.
(Inherited from IAdapter)
Public propertyProcessingInterval Gets or sets the desired processing interval, in milliseconds, for the adapter.
(Inherited from IAdapter)
Public propertyRoutingTables Gets routing tables used byIIndependentAdapterManager instance.
Public propertySettings Gets settings DictionaryTKey, TValue parsed when ConnectionString was assigned.
(Inherited from IAdapter)
Public propertySignalReferenceTemplate Gets or sets template for output measurement signal reference names.
Public propertySignalType Gets or sets default signal type to use for all output measurements when SignalTypes array is not defined.
Public propertySignalTypes Gets per adapter signal type for output measurements, used when each output needs to be a different type.
Public propertySourceMeasurementTable Gets or sets the source measurement table to use for configuration.
Public propertyStartTimeConstraint Gets the start time temporal processing constraint defined by call to SetTemporalConstraint(String, String, String).
(Inherited from IAdapter)
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).
(Inherited from IAdapter)
Public propertySupportsTemporalProcessing Gets the flag indicating if this adapter supports temporal processing.
(Inherited from IAdapter)
Public propertyTargetHistorianAcronym Gets or sets the target historian acronym for output measurements.
Top
Methods
 NameDescription
Public methodAddAdds an item to the ICollectionT.
(Inherited from ICollectionIAdapter)
Public methodClearRemoves all items from the ICollectionT.
(Inherited from ICollectionIAdapter)
Public methodConfigurationReloaded Notifies derived classes that configuration has been reloaded.
Public methodContainsDetermines whether the ICollectionT contains a specific value.
(Inherited from ICollectionIAdapter)
Public methodCopyToCopies the elements of the ICollectionT to an Array, starting at a particular Array index.
(Inherited from ICollectionIAdapter)
Public methodDisposePerforms application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from IDisposable)
Public methodEnumerateAdapters Enumerates child adapters
Public methodGetAdapterStatus Gets subscriber information for specified client connection.
Public methodGetConfiguredConnection Gets configured database connection.
Public methodGetEnumeratorReturns an enumerator that iterates through the collection.
(Inherited from IEnumerableIAdapter)
Public methodGetShortStatus Gets a short one-line adapter status.
(Inherited from IAdapter)
Public methodIndexOfDetermines the index of a specific item in the IListT.
(Inherited from IListIAdapter)
Public methodInitialize Initializes the state of the object.
(Inherited from ISupportLifecycle)
Public methodInsertInserts an item to the IListT at the specified index.
(Inherited from IListIAdapter)
Public methodOnConfigurationChanged Raises ConfigurationChanged event.
Public methodOnInputMeasurementKeysUpdated Raises InputMeasurementKeysUpdated event.
Public methodOnProcessException Raises the ProcessException event.
Public methodOnStatusMessage Raises the StatusMessage event and sends this data to the Logger.
Public methodParseConnectionString Parses connection string. Derived classes should override for custom connection string parsing.
Public methodRecalculateRoutingTables Recalculates routing tables.
Public methodRemoveRemoves the first occurrence of a specific object from the ICollectionT.
(Inherited from ICollectionIAdapter)
Public methodRemoveAtRemoves the IListT item at the specified index.
(Inherited from IListIAdapter)
Public methodResetStatistics Resets the statistics of this collection.
(Inherited from IAdapterCollection)
Public methodSetTemporalConstraint Defines a temporal processing constraint for the adapter.
(Inherited from IAdapter)
Public methodStart Starts the adapter, if it is not already running.
(Inherited from IAdapter)
Public methodStop Stops the adapter.
(Inherited from IAdapter)
Public methodTryCreateAdapter Attempts to create an IAdapter from the specified DataRow.
(Inherited from IAdapterCollection)
Public methodTryGetAdapterByID Attempts to get the adapter with the specified id.
(Inherited from IAdapterCollection)
Public methodTryGetAdapterByName Attempts to get the adapter with the specified name.
(Inherited from IAdapterCollection)
Public methodTryInitializeAdapterByID Attempts to initialize (or reinitialize) an individual IAdapter based on its ID.
(Inherited from IAdapterCollection)
Top
Events
 NameDescription
Public eventConfigurationChanged Event is raised when adapter is aware of a configuration change.
(Inherited from IAdapter)
Public eventDisposed Raised after the source object has been properly disposed.
(Inherited from ISupportLifecycle)
Public eventInputMeasurementKeysUpdated Event is raised when InputMeasurementKeys are updated.
(Inherited from IAdapter)
Public eventOutputMeasurementsUpdated Event is raised when OutputMeasurements are updated.
(Inherited from IAdapter)
Public eventProcessException Event is raised when there is an exception encountered while processing.
(Inherited from IAdapter)
Public eventStatusMessage Provides status messages to consumer.
(Inherited from IAdapter)
Top
Extension Methods
 NameDescription
Public Extension MethodAddRangeIAdapter Adds the specified items to the collection.
(Defined by CollectionExtensions)
Public Extension MethodAllParallelIAdapter Determines whether all elements of a sequence satisfy a condition with each item being tested in parallel.
(Defined by CollectionExtensions)
Public Extension MethodDistinctByIAdapter, TKey Returns only the elements whose keys are distinct.
(Defined by CollectionExtensions)
Public Extension MethodFindAdapter Finds child adapter with specified adapterName.
(Defined by IndependentAdapterManagerExtensions)
Public Extension MethodGetMeasurementRecord Gets measurement record, creating it if needed.
(Defined by IndependentAdapterManagerExtensions)
Public Extension MethodGetRangeIAdapter Returns elements in the specified range from the collection.
(Defined by CollectionExtensions)
Public Extension MethodIndexOfIAdapter Returns the index of the first element of the sequence that satisfies a condition or -1 if no such element is found.
(Defined by CollectionExtensions)
Public Extension MethodInputMeasurementKeys Returns the MeasurementKey values of the IAdapter input measurements.
(Defined by IAdapterExtensions)
Public Extension MethodInputMeasurementKeysIAdapter Gets a distinct list of input measurement keys for all of the provided adapters.
(Defined by IAdapterExtensions)
Public Extension MethodLoadDelimitedStringIAdapterAppends items parsed from delimited string, created with ToDelimitedString, using the default delimiter ("|") into the given list.
(Defined by CollectionExtensions)
Public Extension MethodLoadDelimitedStringIAdapterAppends items parsed from delimited string, created with ToDelimitedString, into the given list.
(Defined by CollectionExtensions)
Public Extension MethodLoadDelimitedStringIAdapterAppends items parsed from delimited string, created with ToDelimitedString, into the given list.
(Defined by CollectionExtensions)
Public Extension MethodLookupDevice Lookups up associated device name from provided signalID.
(Defined by IndependentAdapterManagerExtensions)
Public Extension MethodLookupPhasorLabel Lookups up associated phasor label from provided signalID.
(Defined by IndependentAdapterManagerExtensions)
Public Extension MethodLookupPointTag Lookups up point tag name from provided signalID.
(Defined by IndependentAdapterManagerExtensions)
Public Extension MethodMajorityIAdapter Returns the majority value in the collection, or default type value if no item represents the majority.
(Defined by CollectionExtensions)
Public Extension MethodMajorityIAdapter Returns the majority value in the collection, or defaultValue if no item represents the majority.
(Defined by CollectionExtensions)
Public Extension MethodMajorityByIAdapter, TKey Returns the majority value in the collection, or default type value if no item represents the majority.
(Defined by CollectionExtensions)
Public Extension MethodMajorityByIAdapter, TKey Returns the majority value in the collection, or defaultValue if no item represents the majority.
(Defined by CollectionExtensions)
Public Extension MethodMaxIAdapterReturns the largest item from the enumeration.
(Defined by CollectionExtensions)
Public Extension MethodMaxIAdapterReturns the largest item from the enumeration.
(Defined by CollectionExtensions)
Public Extension MethodMaxByIAdapter, TKeySelects the largest item from the enumeration.
(Defined by CollectionExtensions)
Public Extension MethodMedianIAdapter Gets the median item(s) from an enumeration, i.e., one return item for odd lengths, two for even lengths.
(Defined by CollectionExtensions)
Public Extension MethodMinIAdapterReturns the smallest item from the enumeration.
(Defined by CollectionExtensions)
Public Extension MethodMinIAdapterReturns the smallest item from the enumeration.
(Defined by CollectionExtensions)
Public Extension MethodMinByIAdapter, TKeySelects the smallest item from the enumeration.
(Defined by CollectionExtensions)
Public Extension MethodMinorityIAdapter Returns the minority value in the collection, or default type value if no item represents the minority.
(Defined by CollectionExtensions)
Public Extension MethodMinorityIAdapter Returns the minority value in the collection, or defaultValue if no item represents the minority.
(Defined by CollectionExtensions)
Public Extension MethodMinorityByIAdapter, TKey Returns the minority value in the collection, or default type value if no item represents the majority.
(Defined by CollectionExtensions)
Public Extension MethodMinorityByIAdapter, TKey Returns the minority value in the collection, or defaultValue if no item represents the majority.
(Defined by CollectionExtensions)
Public Extension MethodOutputMeasurementKeys Returns the MeasurementKey values of the IAdapter output measurements.
(Defined by IAdapterExtensions)
Public Extension MethodOutputMeasurementKeysIAdapter Gets a distinct list of output measurement keys for all of the provided adapters.
(Defined by IAdapterExtensions)
Public Extension MethodScrambleIAdapter Rearranges all the elements in the list into a highly-random order.
(Defined by CollectionExtensions)
Public Extension MethodScrambleIAdapter Rearranges all the elements in the list into a repeatable pseudo-random order.
(Defined by CollectionExtensions)
Public Extension MethodSignalIDExists Determines if signalID exists in local configuration.
(Defined by IndependentAdapterManagerExtensions)
Public Extension MethodStandardDeviationIAdapter Computes the standard deviation over a sequence of Double values.
(Defined by NumericalAnalysisExtensions)
Public Extension MethodStandardDeviationIAdapter Computes the standard deviation over a sequence of Decimal values.
(Defined by NumericalAnalysisExtensions)
Public Extension MethodStandardDeviationIAdapter Computes the standard deviation over a sequence of Single values.
(Defined by NumericalAnalysisExtensions)
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 MethodToDelimitedStringIAdapterConverts an enumeration to a string, using the default delimiter ("|") that can later be converted back to a list using LoadDelimitedString.
(Defined by CollectionExtensions)
Public Extension MethodToDelimitedStringIAdapterConverts an enumeration to a string that can later be converted back to a list using LoadDelimitedString.
(Defined by CollectionExtensions)
Public Extension MethodToDelimitedStringIAdapterConverts an enumeration to a string that can later be converted back to a list using LoadDelimitedString.
(Defined by CollectionExtensions)
Public Extension MethodToPagedListIAdapter Gets a PagedListT to paginate source enumeration for a given page and specified pageSize.
(Defined by CollectionExtensions)
Public Extension MethodUnscrambleIAdapter Rearranges all the elements in the list previously scrambled with ScrambleTSource(IListTSource, Int32) back into their original order.
(Defined by CollectionExtensions)
Public Extension MethodUpdateRangeIAdapter Updates collection starting at the index with the specified items.
(Defined by CollectionExtensions)
Public Extension MethodWaitForSignalsToLoad Waits for signalIDs to be loaded in system configuration.
(Defined by IndependentAdapterManagerExtensions)
Top
See Also