Gemstone PhasorProtocols Library
Show/Hide TOC

# FrameParser Constructor

Creates a new FrameParser from specified parameters.

## Definition

Namespace: Gemstone.PhasorProtocols.SelFastMessage
Assembly: Gemstone.PhasorProtocols (in Gemstone.PhasorProtocols.dll) Version: 1.0.155 -- Release Build+e0712c061c586a83529028b96d7dab34b7d8eae9
C#
View Source Request Example

    public FrameParser(
    	CheckSumValidationFrameTypes checkSumValidationFrameTypes = CheckSumValidationFrameTypes.AllFrames,
    	bool trustHeaderLength = true,
    	MessagePeriod messagePeriod = MessagePeriod.DefaultRate
    )

VB
View Source Request Example

    Public Sub New (
    	Optional checkSumValidationFrameTypes As CheckSumValidationFrameTypes = CheckSumValidationFrameTypes.AllFrames,
    	Optional trustHeaderLength As Boolean = true,
    	Optional messagePeriod As MessagePeriod = MessagePeriod.DefaultRate
    )

C++
View Source Request Example

    public:
    FrameParser(
    	CheckSumValidationFrameTypes checkSumValidationFrameTypes = CheckSumValidationFrameTypes::AllFrames,
    	bool trustHeaderLength = true,
    	MessagePeriod messagePeriod = MessagePeriod::DefaultRate
    )

JavaScript
View Source Request Example

    Gemstone.PhasorProtocols.SelFastMessage.FrameParser = function(checkSumValidationFrameTypes, trustHeaderLength, messagePeriod);

#### Parameters

checkSumValidationFrameTypes CheckSumValidationFrameTypes (Optional)
  Frame types that should perform check-sum validation; default to AllFrames
trustHeaderLength Boolean (Optional)
  Determines if header lengths should be trusted over parsed byte count.
messagePeriod MessagePeriod (Optional)
  The desired MessagePeriod for SEL device connection.

## See Also

#### Reference

FrameParser Class
Gemstone.PhasorProtocols.SelFastMessage Namespace