IFrameImageParserTTypeIdentifier, TOutputType Interface

This interface represents a basic implementation of parsing functionality suitable for automating the parsing of a binary data stream represented as frames with common headers and returning the parsed data via an event.

Definition

Namespace: Gemstone.IO.Parsing
Assembly: Gemstone.IO (in Gemstone.IO.dll) Version: 1.0.110 -- Release Build+5f28d91246fb64a1bf6c938596f3050396eb7eba
public interface IFrameImageParser<TTypeIdentifier, TOutputType> : IBinaryImageParser, 
	IProvideStatus
where TOutputType : Object, ISupportFrameImage<TTypeIdentifier>
Implements
IBinaryImageParser, IProvideStatus

Type Parameters

TTypeIdentifier
Type of identifier used to distinguish output types.
TOutputType
Type of the interface or class used to represent outputs.

Properties

Enabled Gets or sets a boolean value that indicates whether the data parser is currently enabled.
(Inherited from IBinaryImageParser)
Name Gets the name of the object providing status information.
(Inherited from IProvideStatus)
Status Gets the current status details about object providing status information.
(Inherited from IProvideStatus)
TotalProcessedBuffers Gets the total number of buffer images processed so far.
(Inherited from IBinaryImageParser)

Methods

Start Start the streaming data parser.
(Inherited from IBinaryImageParser)
Stop Stops the streaming data parser.
(Inherited from IBinaryImageParser)
Write(Byte[], Int32, Int32) Writes a sequence of bytes onto the IBinaryImageParser stream for parsing.
(Inherited from IBinaryImageParser)

Events

DataDiscarded Occurs when data image fails deserialization due to an exception.
(Inherited from IBinaryImageParser)
DataParsed Occurs when a data image is deserialized successfully to one of the output types that the data image represents.
OutputTypeNotFound Occurs when matching a output type for deserializing the data image could not be found.
ParsingException Occurs when an Exception is encountered while attempting to parse data.
(Inherited from IBinaryImageParser)

See Also