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