Click or drag to resize

RestWebServiceMetadataProvider Class

Represents a provider of data to a MetadataFile from a REST (Representational State Transfer) web service.
Inheritance Hierarchy
SystemObject
  SystemMarshalByRefObject
    GSF.AdaptersAdapter
      GSF.Historian.MetadataProvidersMetadataProviderBase
        GSF.Historian.MetadataProvidersRestWebServiceMetadataProvider

Namespace: GSF.Historian.MetadataProviders
Assembly: GSF.Historian (in GSF.Historian.dll) Version: 2.4.181-beta
Syntax
public class RestWebServiceMetadataProvider : MetadataProviderBase
View Source

The RestWebServiceMetadataProvider type exposes the following members.

Constructors
 NameDescription
Public methodRestWebServiceMetadataProvider Initializes a new instance of the RestWebServiceMetadataProvider class.
Top
Properties
 NameDescription
Public propertyDomain Gets the AppDomain in which the Adapter is executing.
(Inherited from Adapter)
Public propertyEnabled Gets or sets a boolean value that indicates whether the Adapter is currently enabled.
(Inherited from Adapter)
Public propertyHostFile Gets or sets the path to the file where the Adapter is housed.
(Inherited from Adapter)
Public propertyIsDisposed Gets a flag that indicates whether the object has been disposed.
(Inherited from Adapter)
Public propertyMemoryUsage Gets the memory utilization of the Adapter in bytes if executing in a separate AppDomain, otherwise NaN.
(Inherited from Adapter)
Public propertyMetadata Gets or sets the MetadataFile to be refreshed by the metadata provider.
(Inherited from MetadataProviderBase)
Public propertyName Gets the unique identifier of the Adapter.
(Inherited from Adapter)
Public propertyPersistSettings Gets or sets a boolean value that indicates whether Adapter settings are to be saved to the config file.
(Inherited from Adapter)
Public propertyProcessorUsage Gets the % processor utilization of the Adapter if executing in a separate AppDomain otherwise NaN.
(Inherited from Adapter)
Public propertyRefreshInterval Gets or sets the interval in minutes at which the Metadata if to be refreshed automatically.
(Inherited from MetadataProviderBase)
Public propertyRefreshTimeout Gets or sets the number of seconds to wait for the Refresh to complete.
(Inherited from MetadataProviderBase)
Public propertyServiceDataFormat Gets or sets the SerializationFormat in which the REST web service exposes the data.
Public propertyServiceUri Gets or sets the URI where the REST web service is hosted.
Public propertySettingsCategory Gets or sets the category under which Adapter settings are to be saved to the config file if the PersistSettings property is set to true.
(Inherited from Adapter)
Public propertyStatus Gets the descriptive status of the Adapter.
(Inherited from Adapter)
Public propertyTypeName Gets or sets the text representation of the Adapter's TypeName.
(Inherited from Adapter)
Top
Methods
 NameDescription
Public methodCreateObjRefCreates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
(Inherited from MarshalByRefObject)
Public methodDispose Releases all the resources used by the Adapter.
(Inherited from Adapter)
Protected methodDispose(Boolean) Releases the unmanaged resources used by the metadata provider and optionally releases the managed resources.
(Inherited from MetadataProviderBase)
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalize Releases the unmanaged resources before the Adapter is reclaimed by GC.
(Inherited from Adapter)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetLifetimeServiceRetrieves the current lifetime service object that controls the lifetime policy for this instance.
(Inherited from MarshalByRefObject)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodInitialize Initializes the metadata provider.
(Inherited from MetadataProviderBase)
Public methodInitializeLifetimeServiceObtains a lifetime service object to control the lifetime policy for this instance.
(Inherited from MarshalByRefObject)
Public methodLoadSettings Loads saved RestWebServiceMetadataProvider settings from the config file if the PersistSettings property is set to true.
(Overrides MetadataProviderBaseLoadSettings)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Protected methodMemberwiseClone(Boolean)Creates a shallow copy of the current MarshalByRefObject object.
(Inherited from MarshalByRefObject)
Protected methodOnDisposed Raises the Disposed event.
(Inherited from Adapter)
Protected methodOnExecutionException Raises the ExecutionException event.
(Inherited from Adapter)
Protected methodOnMetadataRefreshComplete Raises the MetadataRefreshComplete event.
(Inherited from MetadataProviderBase)
Protected methodOnMetadataRefreshException Raises the MetadataRefreshException event.
(Inherited from MetadataProviderBase)
Protected methodOnMetadataRefreshStart Raises the MetadataRefreshStart event.
(Inherited from MetadataProviderBase)
Protected methodOnMetadataRefreshTimeout Raises the MetadataRefreshTimeout event.
(Inherited from MetadataProviderBase)
Protected methodOnStatusUpdate Raises the StatusUpdate event.
(Inherited from Adapter)
Public methodRefresh Refreshes the Metadata from an external source.
(Inherited from MetadataProviderBase)
Protected methodRefreshMetadata Refreshes the Metadata from a REST web service.
(Overrides MetadataProviderBaseRefreshMetadata)
Public methodSaveSettings Saves RestWebServiceMetadataProvider settings to the config file if the PersistSettings property is set to true.
(Overrides MetadataProviderBaseSaveSettings)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Events
 NameDescription
Public eventDisposed Occurs when Adapter is disposed.
(Inherited from Adapter)
Public eventExecutionException Occurs when the IAdapter encounters an Exception during execution.
(Inherited from Adapter)
Public eventMetadataRefreshComplete Occurs when Refresh of Metadata is completed.
(Inherited from MetadataProviderBase)
Public eventMetadataRefreshException Occurs when an Exception is encountered during Refresh of Metadata.
(Inherited from MetadataProviderBase)
Public eventMetadataRefreshStart Occurs when Refresh of Metadata is started.
(Inherited from MetadataProviderBase)
Public eventMetadataRefreshTimeout Occurs when Refresh of Metadata times out.
(Inherited from MetadataProviderBase)
Public eventStatusUpdate Occurs when the Adapter wants to provide a status update.
(Inherited from Adapter)
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 MethodGetEnumValueOrDefaultT Gets the enumeration constant for this value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Top
See Also