Click or drag to resize
Grid Solutions Framework

OutputAdapter Class

Exports measurements to eDNA if the point tag or alternate tag corresponds to a eDNA point's tag name.
Inheritance Hierarchy
SystemObject
  GSF.TimeSeries.AdaptersAdapterBase
    GSF.TimeSeries.AdaptersOutputAdapterBase
      eDNAAdaptersOutputAdapter

Namespace: eDNAAdapters
Assembly: eDNAAdapters (in eDNAAdapters.dll) Version: 2.4.218-beta
Syntax
public class OutputAdapter : OutputAdapterBase
View Source

The OutputAdapter type exposes the following members.

Constructors
 NameDescription
Public methodOutputAdapter Creates a new OutputAdapter
Top
Properties
 NameDescription
Public propertyAcknowledgeDataPackets Gets or sets flag that determines if eDNA client API should acknowledge all process errors or protocol errors.
Public propertyAutoCreateTags Gets or sets whether or not this adapter should automatically manage meta-data for eDNA points.
Public propertyAutoStart Gets or sets flag indicating if adapter should automatically start or otherwise connect on demand.
(Inherited from AdapterBase)
Public propertyAutoUpdateTags Gets or sets whether or not this adapter should automatically manage meta-data for eDNA points.
Public propertyClearCacheOnStartup Gets or sets flag that determines if eDNA client API cache should be cleared on startup.
Protected propertyConnectionAttemptInterval Gets or sets the connection attempt interval, in milliseconds, for the data output adapter.
(Inherited from OutputAdapterBase)
Public propertyConnectionInfo Gets connection info for adapter, if any.
(Inherited from AdapterBase)
Public propertyConnectionMonitoringInterval Gets or sets the interval, in milliseconds, to monitor eDNA connection. A zero value will disable the monitor.
Public propertyConnectionString Gets or sets key/value pair connection information specific to this AdapterBase.
(Inherited from AdapterBase)
Public propertyDataSource Gets or sets DataSet based data source available to this OutputAdapterBase.
(Inherited from OutputAdapterBase)
Public propertyDigitalClearedString Gets or sets the default string to represent the digital cleared state.
Public propertyDigitalSetString Gets or sets the default string to represent the digital set state.
Public propertyEnableCaching Gets or sets flag that determines if eDNA client API should enable use of a local file system cache.
Public propertyEnabled Gets or sets enabled state of this AdapterBase.
(Inherited from AdapterBase)
Public propertyEnableQueuing Gets or sets flag that determines if eDNA client API should enable its memory queue.
Public propertyExpandDigitalWordBits Gets or sets flag that determines if each bit of digital words are expanded to individual points. Set to False to treat words as analog values.
Public propertyID Gets or sets numeric ID associated with this AdapterBase.
(Inherited from AdapterBase)
Public propertyInitializationTimeout Gets or sets maximum time system will wait during Start for initialization.
(Inherited from AdapterBase)
Public propertyInitialized Gets or sets flag indicating if the adapter has been initialized successfully.
(Inherited from AdapterBase)
Public propertyInputMeasurementKeys Gets or sets primary keys of input measurements the AdapterBase expects, if any.
(Inherited from AdapterBase)
Public propertyInputSourceIDs Gets or sets Source values used to filter input measurements.
(Inherited from OutputAdapterBase)
Protected propertyInternalProcessQueue Allows derived class access to internal processing queue.
(Inherited from OutputAdapterBase)
Public propertyIsDisposed Gets a flag that indicates whether the object has been disposed.
(Inherited from AdapterBase)
Public propertyLocalCacheFileName Gets or sets the filename to be used for point map cache.
Protected propertyLog Log messages generated by an adapter.
(Inherited from AdapterBase)
Public propertyMaximumPointResolution Gets or sets the maximum time resolution, in seconds, for data points being archived, e.g., a value 1.0 would mean that data would be archived no more than once per second. A zero value indicates that all data should be archived.
Public propertyMeasurementReportingInterval Gets or sets the measurement reporting interval.
(Inherited from AdapterBase)
Protected propertyMetadataRefreshOperation Gets the operation that calls ExecuteMetadataRefresh.
(Inherited from OutputAdapterBase)
Public propertyName Gets or sets the name of this AdapterBase.
(Inherited from AdapterBase)
Public propertyOutputIsForArchive Returns true to indicate that this OutputAdapter is sending measurements to a historian, i.e., eDNA.
(Overrides OutputAdapterBaseOutputIsForArchive)
Public propertyOutputMeasurements Gets or sets output measurements that the AdapterBase will produce, if any.
(Inherited from OutputAdapterBase)
Public propertyPointMapCacheFileName Gets or sets the filename to be used for point map cache.
Public propertyPrimaryPort Gets or sets the eDNA primary port for the adapter's connection.
Public propertyPrimaryServer Gets or sets the name of the eDNA primary server for the adapter's connection.
Public propertyProcessedMeasurements Gets the total number of measurements handled thus far by the AdapterBase.
(Inherited from AdapterBase)
Public propertyProcessingInterval Gets or sets the desired processing interval, in milliseconds, for the output adapter.
(Inherited from OutputAdapterBase)
Public propertyRequestedInputMeasurementKeys Gets or sets input measurement keys that are requested by other adapters based on what adapter says it can provide.
(Inherited from OutputAdapterBase)
Public propertyRequeueOnException Gets or sets whether or not to automatically place measurements back into the processing queue if an exception occurs while processing. Defaults to false.
(Inherited from OutputAdapterBase)
Public propertyRunMetadataSync Gets or sets whether or not this adapter should automatically manage meta-data for eDNA points.
Public propertyRunTime Gets the total amount of time, in seconds, that the adapter has been active.
(Inherited from AdapterBase)
Public propertySecondaryPort Gets or sets the eDNA secondary port for the adapter's connection.
Public propertySecondaryServer Gets or sets the name of the eDNA secondary server for the adapter's connection.
Public propertyService Gets or sets the eDNA service for the adapter's connection.
Public propertySettings Gets settings DictionaryTKey, TValue parsed when ConnectionString was assigned.
(Inherited from AdapterBase)
Public propertySite Gets or sets the eDNA site for the adapter's connection.
Public propertyStartTime Gets the UTC time this AdapterBase was started.
(Inherited from AdapterBase)
Public propertyStartTimeConstraint Gets the start time temporal processing constraint defined by call to SetTemporalConstraint(String, String, String).
(Inherited from AdapterBase)
Public propertyStatus Gets the detailed status of the eDNA output adapter.
(Overrides OutputAdapterBaseStatus)
Public propertyStopTime Gets the UTC time this AdapterBase was stopped.
(Inherited from AdapterBase)
Public propertyStopTimeConstraint Gets the stop time temporal processing constraint defined by call to SetTemporalConstraint(String, String, String).
(Inherited from AdapterBase)
Public propertySupportsTemporalProcessing Gets the flag indicating if this OutputAdapterBase implementation supports temporal processing.
(Inherited from OutputAdapterBase)
Public propertyTagNamePrefixRemoveCount Gets or sets the number of tag name prefixes, e.g., "SOURCE!", applied by subscriptions to remove from eDNA tag names.
Protected propertyUseAsyncConnect Returns false to indicate that this OutputAdapter will connect synchronously based on eDNA API operation.
(Overrides OutputAdapterBaseUseAsyncConnect)
Public propertyValidateINIFileExists Gets or sets flag that determines if eDNA client API INI configuration file should be validated to exist before starting adapter. When set to True, adapter will fail to start when INI file does not exist.
Public propertyWriteTimeout Gets or sets the timeout, in milliseconds, for writing data to eDNA connection. A value of -1 will wait indefinitely.
Top
Methods
 NameDescription
Protected methodAttemptConnection Connects to the configured eDNA server.
(Overrides OutputAdapterBaseAttemptConnection)
Protected methodAttemptDisconnection Closes this OutputAdapter connections to the eDNA server.
(Overrides OutputAdapterBaseAttemptDisconnection)
Public methodDispose Releases all the resources used by the AdapterBase object.
(Inherited from AdapterBase)
Protected methodDispose(Boolean) Releases the unmanaged resources used by the OutputAdapter object and optionally releases the managed resources.
(Overrides OutputAdapterBaseDispose(Boolean))
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodExecuteMetadataRefresh Sends updated meta-data to eDNA.
(Overrides OutputAdapterBaseExecuteMetadataRefresh)
Protected methodFinalize Releases the unmanaged resources before the AdapterBase object is reclaimed by GC.
(Inherited from AdapterBase)
Public methodFlush Blocks the current thread, if the OutputAdapterBase is connected, until all items in OutputAdapterBase queue are processed, and then stops processing.
(Inherited from OutputAdapterBase)
Public methodGetHashCode Serves as a hash function for the current AdapterBase.
(Inherited from AdapterBase)
Public methodGetShortStatus Returns a brief status of this OutputAdapter
(Overrides AdapterBaseGetShortStatus(Int32))
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodIncrementProcessedMeasurements Safely increments the total processed measurements.
(Inherited from AdapterBase)
Public methodInitialize Initializes this OutputAdapter.
(Overrides OutputAdapterBaseInitialize)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Protected methodOnConfigurationChanged Raises ConfigurationChanged event.
(Inherited from AdapterBase)
Protected methodOnConnected Called when data output source connection is established.
(Overrides OutputAdapterBaseOnConnected)
Protected methodOnDisconnected Called when data input source is disconnected.
(Inherited from OutputAdapterBase)
Protected methodOnInputMeasurementKeysUpdated Raises InputMeasurementKeysUpdated event.
(Inherited from AdapterBase)
Protected methodOnOutputMeasurementsUpdated Raises OutputMeasurementsUpdated event.
(Inherited from AdapterBase)
Protected methodOnProcessException(Exception)Obsolete.
Raises the ProcessException event.
(Inherited from AdapterBase)
Protected methodOnProcessException(MessageLevel, Exception, String, MessageFlags) Raises the ProcessException event.
(Inherited from AdapterBase)
Protected methodOnStatusMessage(String)Obsolete.
Raises the StatusMessage event.
(Inherited from AdapterBase)
Protected methodOnStatusMessage(String, Object)Obsolete.
Raises the StatusMessage event with a formatted status message.
(Inherited from AdapterBase)
Protected methodOnStatusMessage(MessageLevel, String, String, MessageFlags) Raises the StatusMessage event and sends this data to the Logger.
(Inherited from AdapterBase)
Protected methodOnUnprocessedMeasurements Raises the UnprocessedMeasurements event.
(Inherited from OutputAdapterBase)
Protected methodProcessMeasurements Sorts measurements and sends them to the configured eDNA server in batches
(Overrides OutputAdapterBaseProcessMeasurements(IMeasurement))
Public methodQueueMeasurementForProcessing Queues a single measurement for processing. Measurement is automatically filtered to the defined InputMeasurementKeys.
(Inherited from OutputAdapterBase)
Public methodQueueMeasurementsForProcessing Queues a collection of measurements for processing. Measurements are automatically filtered to the defined InputMeasurementKeys.
(Inherited from OutputAdapterBase)
Public methodRefreshMetadata Initiates request for metadata refresh for OutputAdapterBase, if implemented.
(Inherited from OutputAdapterBase)
Public methodRemoveMeasurements This removes a range of measurements from the internal measurement queue.
(Inherited from OutputAdapterBase)
Public methodSetInitializedState Manually sets the initialized state of the AdapterBase.
(Inherited from AdapterBase)
Public methodSetTemporalConstraint Defines a temporal processing constraint for the adapter.
(Inherited from AdapterBase)
Public methodStart Starts this OutputAdapterBase and initiates connection cycle to data output stream.
(Inherited from OutputAdapterBase)
Public methodStop Stops this OutputAdapterBase and disconnects from data output stream.
(Inherited from OutputAdapterBase)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Events
 NameDescription
Public eventConfigurationChanged Event is raised when adapter is aware of a configuration change.
(Inherited from AdapterBase)
Public eventDisposed Event is raised when AdapterBase is disposed.
(Inherited from AdapterBase)
Public eventInputMeasurementKeysUpdated Event is raised when InputMeasurementKeys are updated.
(Inherited from AdapterBase)
Public eventOutputMeasurementsUpdated Event is raised when OutputMeasurements are updated.
(Inherited from AdapterBase)
Public eventProcessException Event is raised when there is an exception encountered while processing.
(Inherited from AdapterBase)
Public eventStatusMessage Provides status messages to consumer.
(Inherited from AdapterBase)
Public eventUnprocessedMeasurements Event is raised every five seconds allowing host to track total number of unprocessed measurements.
(Inherited from OutputAdapterBase)
Top
See Also