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.171 -- Release Build+34dcb26b99b7f42a0a0ca07181cf8915c27a98d6
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