Click or drag to resize

ChannelFrameParsingStateBaseT Class

Represents the protocol independent common implementation of the parsing state used by any IChannelFrame.
Inheritance Hierarchy

Namespace: GSF.PhasorProtocols
Assembly: GSF.PhasorProtocols (in GSF.PhasorProtocols.dll) Version: 2.4.181-beta
Syntax
public abstract class ChannelFrameParsingStateBase<T> : ChannelParsingStateBase, 
	IChannelFrameParsingState<T>, IChannelParsingState
where T : IChannelCell
View Source

Type Parameters

T
Type of IChannelCell referenced by IChannelFrame being parsed.

The ChannelFrameParsingStateBaseT type exposes the following members.

Constructors
 NameDescription
Protected methodChannelFrameParsingStateBaseT Creates a new ChannelFrameParsingStateBaseT from specified parameters.
Top
Properties
 NameDescription
Public propertyCellCount Gets or sets number of cells that are expected in associated IChannelFrame being parsed.
Public propertyCreateNewCell Gets reference to delegate used to create a new IChannelCell object.
Public propertyParsedBinaryLength Gets or sets the length of the associated IChannel object being parsed from the binary image.
(Inherited from ChannelParsingStateBase)
Public propertyTrustHeaderLength Gets or sets flag that determines if header lengths should be trusted over parsed byte count.
Public propertyValidateCheckSum Gets or sets flag that determines if frame's check-sum should be validated.
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
See Also