Click or drag to resize

CommonFrameHeader Class

Represents the common header for a F-NET frame of data.
Inheritance Hierarchy
SystemObject
  GSF.ParsingCommonHeaderBaseInt32
    GSF.PhasorProtocols.FNETCommonFrameHeader

Namespace: GSF.PhasorProtocols.FNET
Assembly: GSF.PhasorProtocols (in GSF.PhasorProtocols.dll) Version: 2.4.207-beta
Syntax
public class CommonFrameHeader : CommonHeaderBase<int>
View Source

The CommonFrameHeader type exposes the following members.

Constructors
 NameDescription
Public methodCommonFrameHeader Creates a new CommonFrameHeader from given buffer.
Top
Properties
 NameDescription
Public propertyDataElements Gets F-NET data elements parsed during construction.
Public propertyParsedLength Gets length of data parsed during construction.
Public propertyState Gets or sets any additional state information that might be needed for parsing.
(Inherited from CommonHeaderBaseTTypeIdentifier)
Public propertyTypeID Gets or sets the identifier used for identifying the Type to be parsed.
(Inherited from CommonHeaderBaseTTypeIdentifier)
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 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 methodToStringReturns a string that represents the current object.
(Inherited from Object)
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
Remarks
Because of its simplicity, all F-NET parsing is handled in the constructor of this class. Subsequently all parsed data is available as an array of strings where needed.
See Also