Gemstone PhasorProtocols Library
Show/Hide TOC

# ConfigurationFrameParsingState Constructor

Creates a new ConfigurationFrameParsingState from specified parameters.

## Definition

Namespace: Gemstone.PhasorProtocols.Macrodyne
Assembly: Gemstone.PhasorProtocols (in Gemstone.PhasorProtocols.dll) Version: 1.0.154 -- Release Build+ce0a0bb107122d32effbb65289e7078d541a1e28
C#
View Source Request Example

    public ConfigurationFrameParsingState(
    	int parsedBinaryLength,
    	HeaderFrame headerFrame,
    	CreateNewCellFunction<IConfigurationCell> createNewCellFunction,
    	bool trustHeaderLength,
    	bool validateCheckSum
    )

VB
View Source Request Example

    Public Sub New (
    	parsedBinaryLength As Integer,
    	headerFrame As HeaderFrame,
    	createNewCellFunction As CreateNewCellFunction(Of IConfigurationCell),
    	trustHeaderLength As Boolean,
    	validateCheckSum As Boolean
    )

C++
View Source Request Example

    public:
    ConfigurationFrameParsingState(
    	int parsedBinaryLength,
    	HeaderFrame^ headerFrame,
    	CreateNewCellFunction<IConfigurationCell^>^ createNewCellFunction,
    	bool trustHeaderLength,
    	bool validateCheckSum
    )

JavaScript
View Source Request Example

    Gemstone.PhasorProtocols.Macrodyne.ConfigurationFrameParsingState = function(parsedBinaryLength, headerFrame, createNewCellFunction, trustHeaderLength, validateCheckSum);

#### Parameters

parsedBinaryLength Int32
  Binary length of the ConfigurationFrame being parsed.
headerFrame HeaderFrame
  Previously parsed header frame that contains needed station name.
createNewCellFunction CreateNewCellFunction IConfigurationCell
  Reference to delegate to create new ConfigurationCell instances.
trustHeaderLength Boolean
  Determines if header lengths should be trusted over parsed byte count.
validateCheckSum Boolean
  Determines if frame's check-sum should be validated.

## See Also

#### Reference

ConfigurationFrameParsingState Class
Gemstone.PhasorProtocols.Macrodyne Namespace