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.159 -- Release Build+abd132cce9146ac407095c456214716c4203ac13
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