Click or drag to resize

ActionAdapterCollection Class

Represents a collection of IActionAdapter implementations.
Inheritance Hierarchy

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

The ActionAdapterCollection type exposes the following members.

Constructors
 NameDescription
Public methodActionAdapterCollection Constructs a new instance of the ActionAdapterCollection.
Top
Properties
 NameDescription
Protected propertyAutoInitialize Gets flag that determines if IAdapter implementations are automatically initialized when they are added to the collection.
(Inherited from AdapterCollectionBase<T>)
Public propertyAutoStart Gets or sets flag indicating if adapter collection should automatically start items when AutoInitialize is false.
(Inherited from AdapterCollectionBase<T>)
Public propertyConnectionString Gets or sets key/value pair connection information specific to this AdapterCollectionBase<T>.
(Inherited from AdapterCollectionBase<T>)
Public propertyConvertReadonlyCollectionsToWritable Gets or sets flag that determines if readonly collections should be converted to writable so published measurement sets can be augmented by filter adapters.
Public propertyCount Gets the number of elements contained in the ICollection<T>.
(Inherited from ListCollection<T>)
Public propertyDataMember Gets or sets specific data member (e.g., table name) in DataSource used to Initialize() this AdapterCollectionBase<T>.
(Inherited from AdapterCollectionBase<T>)
Public propertyDataSource Gets or sets DataSet based data source used to load each IAdapter. Updates to this property will cascade to all items in this AdapterCollectionBase<T>.
(Inherited from AdapterCollectionBase<T>)
Public propertyEnabled Gets or sets enabled state of this AdapterCollectionBase<T>.
(Inherited from AdapterCollectionBase<T>)
Public propertyID Gets or sets numeric ID associated with this AdapterCollectionBase<T>.
(Inherited from AdapterCollectionBase<T>)
Public propertyInitializationTimeout Gets or sets the default adapter time that represents the maximum time system will wait during Start() for initialization.
(Inherited from AdapterCollectionBase<T>)
Public propertyInitialized Gets or sets flag indicating if the adapter collection has been initialized successfully.
(Inherited from AdapterCollectionBase<T>)
Public propertyInputMeasurementKeys Gets or sets primary keys of input measurements the AdapterCollectionBase<T> expects, if any.
(Inherited from AdapterCollectionBase<T>)
Public propertyInputSourceIDs Gets or sets Source values used to filter input measurement keys.
(Inherited from AdapterCollectionBase<T>)
Public propertyIsDisposed Gets a flag that indicates whether the object has been disposed.
(Inherited from AdapterCollectionBase<T>)
Public propertyIsReadOnly Gets a value indicating whether the AdapterCollectionBase<T> is read-only.
(Inherited from AdapterCollectionBase<T>)
Public propertyItem Gets or sets the element at the specified index.
(Inherited from ListCollection<T>)
Protected propertyItems Gets a IList<T> wrapper around the Collection<T>.
(Inherited from ListCollection<T>)
Protected propertyLog Log messages generated by an adapter.
(Inherited from AdapterCollectionBase<T>)
Protected propertyMonitorTimerEnabled Gets or sets flag that determines if monitor timer should be used for monitoring processed measurement statistics for the AdapterCollectionBase<T>.
(Inherited from AdapterCollectionBase<T>)
Public propertyName Gets or sets the name of this AdapterCollectionBase<T>.
(Inherited from AdapterCollectionBase<T>)
Public propertyOutputMeasurements Gets or sets output measurements that the AdapterCollectionBase<T> will produce, if any.
(Inherited from AdapterCollectionBase<T>)
Public propertyOutputSourceIDs Gets or sets Source values used to filter output measurements.
(Inherited from AdapterCollectionBase<T>)
Public propertyProcessedMeasurements Gets the total number of measurements processed thus far by each IAdapter implementation in the AdapterCollectionBase<T>.
(Inherited from AdapterCollectionBase<T>)
Public propertyProcessingInterval Gets or sets the desired processing interval, in milliseconds, for the adapter collection and applies this interval to each adapter.
(Inherited from AdapterCollectionBase<T>)
Public propertyRequestedInputMeasurementKeys Gets or sets input measurement keys that are requested by other adapters based on what adapter says it can provide.
(Inherited from AdapterCollectionBase<T>)
Public propertyRequestedOutputMeasurementKeys Gets or sets output measurement keys that are requested by other adapters based on what adapter says it can provide.
(Inherited from AdapterCollectionBase<T>)
Public propertyRespectInputDemands Gets or sets flag indicating if action adapter should respect auto-start requests based on input demands.
Public propertyRespectOutputDemands Gets or sets flag indicating if action adapter should respect auto-start requests based on output demands.
Public propertyRunTime Gets the total amount of time, in seconds, that the adapter has been active.
(Inherited from AdapterCollectionBase<T>)
Public propertySettings Gets settings Dictionary<TKey, TValue> parsed when ConnectionString was assigned.
(Inherited from AdapterCollectionBase<T>)
Public propertyStartTime Gets the UTC time this AdapterCollectionBase<T> was started.
(Inherited from AdapterCollectionBase<T>)
Public propertyStartTimeConstraint Gets the start time temporal processing constraint defined by call to SetTemporalConstraint(String, String, String).
(Inherited from AdapterCollectionBase<T>)
Public propertyStatus Gets the descriptive status of this ActionAdapterCollection.
(Overrides AdapterCollectionBase<T>.Status)
Public propertyStopTime Gets the UTC time this AdapterCollectionBase<T> was stopped.
(Inherited from AdapterCollectionBase<T>)
Public propertyStopTimeConstraint Gets the stop time temporal processing constraint defined by call to SetTemporalConstraint(String, String, String).
(Inherited from AdapterCollectionBase<T>)
Public propertySupportsTemporalProcessing Gets the flag indicating if this adapter collection supports temporal processing.
(Inherited from AdapterCollectionBase<T>)
Top
Methods
 NameDescription
Public methodAdd Adds an item to the ICollection<T>.
(Inherited from ListCollection<T>)
Public methodClear Removes all items from the ICollection<T>.
(Inherited from ListCollection<T>)
Protected methodClearItems Removes all elements from the Collection<T>.
(Inherited from AdapterCollectionBase<T>)
Public methodContains Determines whether the ICollection<T> contains a specific value.
(Inherited from ListCollection<T>)
Public methodCopyTo Copies the elements of the ICollection<T> to an Array, starting at a particular Array index.
(Inherited from ListCollection<T>)
Public methodDispose() Releases all the resources used by the AdapterCollectionBase<T> object.
(Inherited from AdapterCollectionBase<T>)
Protected methodDispose(Boolean) Releases the unmanaged resources used by the AdapterCollectionBase<T> object and optionally releases the managed resources.
(Inherited from AdapterCollectionBase<T>)
Protected methodDisposeItem Unwires events and disposes of IActionAdapter implementation.
(Overrides AdapterCollectionBase<T>.DisposeItem(T))
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalize Releases the unmanaged resources before the AdapterCollectionBase<T> object is reclaimed by GC.
(Inherited from AdapterCollectionBase<T>)
Public methodGetEnumerator Returns an enumerator that iterates through the Collection<T>.
(Inherited from ListCollection<T>)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetShortStatus Gets a short one-line status of this AdapterCollectionBase<T>.
(Inherited from AdapterCollectionBase<T>)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodIndexOf Determines the index of a specific item in the IList<T>.
(Inherited from ListCollection<T>)
Public methodInitialize Initializes the ActionAdapterCollection.
(Overrides AdapterCollectionBase<T>.Initialize())
Protected methodInitializeItem Wires events and initializes new IActionAdapter implementation.
(Overrides AdapterCollectionBase<T>.InitializeItem(T))
Public methodInsert Inserts an item to the IList<T> at the specified index.
(Inherited from ListCollection<T>)
Protected methodInsertItem Inserts an element into the Collection<T> the specified index.
(Inherited from AdapterCollectionBase<T>)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Protected methodOnConfigurationChanged Raises ConfigurationChanged event.
(Inherited from AdapterCollectionBase<T>)
Protected methodOnDiscardingMeasurements Raises the DiscardingMeasurements event.
Protected methodOnInputMeasurementKeysUpdated Raises InputMeasurementKeysUpdated event.
(Inherited from AdapterCollectionBase<T>)
Protected methodOnNewMeasurements(ICollection<IMeasurement>) Raises the NewMeasurements event.
Protected methodOnNewMeasurements(Object, EventArgs<ICollection<IMeasurement>>) Raises the NewMeasurements event.
Protected methodOnOutputMeasurementsUpdated Raises OutputMeasurementsUpdated event.
(Inherited from AdapterCollectionBase<T>)
Protected methodOnProcessException(Exception)Obsolete.
Raises the ProcessException event.
(Inherited from AdapterCollectionBase<T>)
Protected methodOnProcessException(MessageLevel, Exception, String, MessageFlags) Raises the ProcessException event.
(Inherited from AdapterCollectionBase<T>)
Protected methodOnRequestTemporalSupport Raises RequestTemporalSupport event.
Protected methodOnStatusMessage(String)Obsolete.
Raises the StatusMessage event.
(Inherited from AdapterCollectionBase<T>)
Protected methodOnStatusMessage(String, Object[])Obsolete.
Raises the StatusMessage event with a formatted status message.
(Inherited from AdapterCollectionBase<T>)
Protected methodOnStatusMessage(MessageLevel, String, String, MessageFlags) Raises the StatusMessage event and sends this data to the Logger.
(Inherited from AdapterCollectionBase<T>)
Protected methodOnUnpublishedSamples Raises the UnpublishedSamples event.
Public methodQueueMeasurementsForProcessing Queues a collection of measurements for processing to each IActionAdapter implementation in this ActionAdapterCollection.
Public methodRemove Removes the first occurrence of a specific object from the ICollection<T>.
(Inherited from ListCollection<T>)
Public methodRemoveAt Removes the element at the specified index of the Collection<T>.
(Inherited from ListCollection<T>)
Protected methodRemoveItem Removes the element at the specified index of the Collection<T>.
(Inherited from AdapterCollectionBase<T>)
Public methodResetStatistics Resets the statistics of this collection.
(Inherited from AdapterCollectionBase<T>)
Protected methodSetItem Assigns a new element to the Collection<T> at the specified index.
(Inherited from AdapterCollectionBase<T>)
Public methodSetTemporalConstraint Defines a temporal processing constraint for the adapter collection and applies this constraint to each adapter.
(Inherited from AdapterCollectionBase<T>)
Public methodStart Starts, or restarts, each IAdapter implementation in this AdapterCollectionBase<T>.
(Inherited from AdapterCollectionBase<T>)
Public methodStop Stops each IAdapter implementation in this AdapterCollectionBase<T>.
(Inherited from AdapterCollectionBase<T>)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Public methodTryCreateAdapter Attempts to create an IAdapter from the specified DataRow.
(Inherited from AdapterCollectionBase<T>)
Protected methodTryGetAdapter<TValue> Attempts to get the adapter with the specified value given testItem function.
(Inherited from AdapterCollectionBase<T>)
Public methodTryGetAdapterByID Attempts to get the adapter with the specified id.
(Inherited from AdapterCollectionBase<T>)
Public methodTryGetAdapterByName Attempts to get the adapter with the specified name.
(Inherited from AdapterCollectionBase<T>)
Public methodTryInitializeAdapterByID Attempts to initialize (or reinitialize) an individual IAdapter based on its ID.
(Inherited from AdapterCollectionBase<T>)
Top
Events
 NameDescription
Public eventConfigurationChanged Event is raised when adapter is aware of a configuration change.
(Inherited from AdapterCollectionBase<T>)
Public eventDiscardingMeasurements This event is raised if there are any measurements being discarded during the sorting process.
Public eventDisposed Event is raised when this AdapterCollectionBase<T> is disposed or an IAdapter in the collection is disposed.
(Inherited from AdapterCollectionBase<T>)
Public eventInputMeasurementKeysUpdated Event is raised when InputMeasurementKeys are updated.
(Inherited from AdapterCollectionBase<T>)
Public eventNewMeasurements This event will be raised when there are new measurements available from the action adapter.
Public eventOutputMeasurementsUpdated Event is raised when OutputMeasurements are updated.
(Inherited from AdapterCollectionBase<T>)
Public eventProcessException Event is raised when there is an exception encountered while processing.
(Inherited from AdapterCollectionBase<T>)
Public eventRequestTemporalSupport Event is raised when temporal support is requested.
Public eventStatusMessage Provides status messages to consumer.
(Inherited from AdapterCollectionBase<T>)
Public eventUnpublishedSamples This event is raised every five seconds allowing consumer to track current number of unpublished seconds of data in the queue.
Top
Extension Methods
 NameDescription
Public Extension MethodGetEnumValueOrDefault Gets the enumeration constant for value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Public Extension MethodGetEnumValueOrDefault<T> Gets the enumeration constant for this value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
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