Click or drag to resize

SignalIndexCache Class

Represents a serializable Guid signal ID to UInt16 index cross reference.
Inheritance Hierarchy
SystemObject
  GSF.TimeSeries.TransportSignalIndexCache

Namespace: GSF.TimeSeries.Transport
Assembly: GSF.TimeSeries (in GSF.TimeSeries.dll) Version: 2.4.218-beta
Syntax
[SerializableAttribute]
public class SignalIndexCache : ISupportBinaryImage
View Source

The SignalIndexCache type exposes the following members.

Constructors
 NameDescription
Public methodSignalIndexCache Creates a new SignalIndexCache instance.
Public methodSignalIndexCache(DataSet, SignalIndexCache) Creates a new local system cache from one that was received remotely.
Top
Properties
 NameDescription
Public propertyAuthorizedSignalIDs Gets reference to array of requested input measurement signal IDs that were authorized.
Public propertyBinaryLength Gets the length of the binary image.
Public propertyEncoding Gets or sets character encoding used to convert strings to binary.
Public propertyMaximumIndex Gets the current maximum integer signal index.
Public propertyReference Gets or sets integer signal index cross reference dictionary.
Public propertySubscriberID Gets or sets the Guid based subscriber ID of this SignalIndexCache.
Public propertyUnauthorizedSignalIDs Gets or sets reference to array of requested input measurement signal IDs that were unauthorized.
Top
Methods
 NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGenerateBinaryImage Generates binary image of the SignalIndexCache and copies it into the given buffer, for BinaryLength bytes.
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetSignalIndex Gets runtime signal index for given Guid signal ID.
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodParseBinaryImage Initializes the SignalIndexCache by parsing the specified buffer containing a binary image.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Extension Methods
 NameDescription
Public Extension MethodBinaryImage Returns a binary image of an object that implements ISupportBinaryImage.
(Defined by ISupportBinaryImageExtensions)
Public Extension MethodCopyBinaryImageToStream Copies binary image of object that implements ISupportBinaryImage to a Stream.
(Defined by ISupportBinaryImageExtensions)
Public Extension MethodCopyImage This is a common optimized block copy function for any kind of data.
(Defined by Common)
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)
Public Extension MethodParseBinaryImageFromStream Parses binary image of object that implements ISupportBinaryImage from a Stream.
(Defined by ISupportBinaryImageExtensions)
Top
Remarks
This class is used to create a runtime index to be used for data exchange so that a 16-bit integer is exchanged in the data packets for signal identification instead of the 128-bit Guid signal ID to reduce bandwidth required for signal exchange. This means the total number of unique signal IDs that could be exchanged using this method in a single session is 65,535. This number seems reasonable for the currently envisioned use cases, however, multiple sessions each with their own runtime signal index cache could be established if this is a limitation for a given data set.
See Also