GrammarLogEvent Class

GrammarLogEvent Class

Raised by:  SES
Base Class:  DataLogEvent
Derived Classes:  None

The GrammarLogEvent event provides a way for the server to log large incoming compiled grammar files.

GrammarLogEvent has the following properties:

Property

Type

Description

ID

String

A unique identifier for this portion of the grammar.

Offset

Integer

The number of bytes into the compiled grammar where this portion starts. A zero value here indicates this is the start of the grammar file.

Data

ByteArray

The array of bytes that contains this portion of the compiled grammar. A zero-length packet indicates the end of the file.

Remarks

GrammarLogEvent is raised whenever the compiled grammar being loaded reaches a certain size. The event then contains the portion of the grammar loaded to that point. The unique identifier and byte offset provide a way to reconstruct the entire file for analysis purposes.

See Also

Event Logging Class Hierarchy | Logging and Analyzing Events | CommonEvent | Event Filters | Filtering Logged Events