IFrameParser Interface

Represents a protocol independent representation of a frame parser.

Definition

Namespace: Gemstone.PhasorProtocols
Assembly: Gemstone.PhasorProtocols (in Gemstone.PhasorProtocols.dll) Version: 1.0.128 -- Release Build+dd7f32701ba80de4d5b0557e84e0ddc18a34573f
public interface IFrameParser : IProvideStatus, 
	IDisposable
Implements
IProvideStatus, IDisposable

Remarks

This interface allows protocol specific frame parsers to be handled abstractly by the MultiProtocolFrameParser.

Properties

CheckSumValidationFrameTypes Gets or sets flags that determine if check-sums for specified frames should be validated.
ConfigurationFrame Gets or sets current IConfigurationFrame used for parsing IDataFrame's encountered in the data stream from a device.
ConnectionParameters Gets or sets any connection specific IConnectionParameters that may be needed for parsing.
Enabled Gets or sets a boolean value that indicates whether the data parser is currently enabled.
Name Gets the name of the object providing status information.
(Inherited from IProvideStatus)
QueuedBuffers Gets the total number of buffers that are currently queued for processing, if any.
QueuedOutputs Gets the total number of frames that are currently queued for publication, if any.
RedundantFramesPerPacket Gets the number of redundant frames in each packet.
Status Gets the current status details about object providing status information.
(Inherited from IProvideStatus)
TrustHeaderLength Gets or sets flag that determines if header lengths should be trusted over parsed byte count.

Methods

DisposePerforms application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from IDisposable)
Parse Writes a sequence of bytes onto the IBinaryImageParser stream for parsing.
Start Start the streaming data parser.
Stop Stops the streaming data parser.

Events

BufferParsed Occurs when buffer parsing has completed.
ConfigurationChanged Occurs when a device sends a notification that its configuration has changed.
ParsingException Occurs when an Exception is encountered while attempting to parse data.
ReceivedChannelFrame Occurs when any IChannelFrame has been received.
ReceivedCommandFrame Occurs when a ICommandFrame has been received.
ReceivedConfigurationFrame Occurs when a IConfigurationFrame has been received.
ReceivedDataFrame Occurs when a IDataFrame has been received.
ReceivedFrameBufferImage Occurs when a frame buffer image has been received.
ReceivedFrameImage Occurs when a frame image has been received.
ReceivedHeaderFrame Occurs when a IHeaderFrame has been received.
ReceivedUndeterminedFrame Occurs when an undetermined IChannelFrame has been received.

See Also