Click or drag to resize

PacketBase Class

Base class for a binary packet received by a historian.
Inheritance Hierarchy
SystemObject
  GSF.Historian.PacketsPacketBase
    More

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

The PacketBase type exposes the following members.

Constructors
 NameDescription
Protected methodPacketBase Initializes a new instance of the packet.
Top
Properties
 NameDescription
Public propertyAllowQueuedPublication Gets flag that determines if frame image can queued for publication or should be processed immediately.
Public propertyArchive Gets or sets the current IArchive.
Public propertyBinaryLength Gets the length of the packet's binary representation.
Public propertyCommonHeader Gets or sets the PacketCommonHeader for the packet.
Public propertyPreProcessHandler Gets or sets the Delegate that pre-processes the packet.
Public propertyProcessHandler Gets or sets the Delegate that processes the packet.
Public propertySource Gets or sets the data source identifier of the frame image.
Public propertyTypeID Gets or sets the numeric identifier for the packet type.
Top
Methods
 NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodExtractTimeSeriesData Extracts time-series data from the packet.
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 packet and copies it into the given buffer, for BinaryLength bytes.
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
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 packet by parsing the specified buffer containing a binary image.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Fields
 NameDescription
Public fieldStatic memberFixedLength Specifies the number of bytes in the binary image of the packet.
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
See Also
Inheritance Hierarchy