Represents a frame parser for an IEEE 1344 binary data stream that returns parsed data via events.

C# | Visual Basic | Visual C++ |
public class FrameParser : FrameParserBase<FrameType>
Public Class FrameParser _ Inherits FrameParserBase(Of FrameType)
public ref class FrameParser : public FrameParserBase<FrameType>

All Members | Constructors | Methods | Properties | Fields | Events |
Icon | Member | Description |
---|---|---|
![]() | FrameParser()()()() | Initializes a new instance of the FrameParser class |
![]() | BeginRead(array<Byte>[]()[][], Int32, Int32, AsyncCallback, Object) | HostProtectionAttribute.
Begins an asynchronous read operation.
(Inherited from Stream.) |
![]() | BeginWrite(array<Byte>[]()[][], Int32, Int32, AsyncCallback, Object) | HostProtectionAttribute.
Begins an asynchronous write operation.
(Inherited from Stream.) |
![]() | CanRead()()()() | (Inherited from BinaryImageParserBase.) |
![]() | CanSeek()()()() | (Inherited from BinaryImageParserBase.) |
![]() | CanTimeout |
Gets a value that determines whether the current stream can time out.
(Inherited from Stream.) |
![]() | CanWrite()()()() | (Inherited from BinaryImageParserBase.) |
![]() | Close()()()() |
Closes the current stream and releases any resources (such as sockets and file handles) associated with the current stream.
(Inherited from Stream.) |
![]() | ConfigurationChanged |
Occurs when a device sends a notification that its configuration has changed.
(Inherited from FrameParserBase<(Of <(<'TFrameIdentifier>)>)>.) |
![]() | ConfigurationFrame |
Gets or sets current IConfigurationFrame used for parsing IDataFrame's encountered in the data stream from a device.
(Overrides FrameParserBase<(Of <(<'FrameType>)>)>.ConfigurationFrame.) |
![]() | ConnectionParameters |
Gets or sets any connection specific IConnectionParameters that may be needed for parsing.
(Inherited from FrameParserBase<(Of <(<'TFrameIdentifier>)>)>.) |
![]() | CreateBufferQueue()()()() |
Creates the internal buffer queue.
(Inherited from FrameParserBase<(Of <(<'TFrameIdentifier>)>)>.) |
![]() | CreateObjRef(Type) |
Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
(Inherited from MarshalByRefObject.) |
![]() | CreateWaitHandle()()()() | Obsolete.
Allocates a WaitHandle object.
(Inherited from Stream.) |
![]() | DataDiscarded()()()() | (Inherited from BinaryImageParserBase.) |
![]() | DataParsed()()()() | (Inherited from FrameImageParserBase<(Of <(<'FrameType, ISupportFrameImage<(Of <(<'FrameType>)>)>>)>)>.) |
![]() | Dispose(Boolean) |
Releases the unmanaged resources used by the FrameParserBase<(Of <(<'TFrameIdentifier>)>)> object and optionally releases the managed resources.
(Inherited from FrameParserBase<(Of <(<'TFrameIdentifier>)>)>.) |
![]() | Dispose()()()() |
Releases all resources used by the Stream.
(Inherited from Stream.) |
![]() | DuplicateTypeHandlerEncountered()()()() | (Inherited from FrameImageParserBase<(Of <(<'FrameType, ISupportFrameImage<(Of <(<'FrameType>)>)>>)>)>.) |
![]() | Enabled()()()() | (Inherited from BinaryImageParserBase.) |
![]() | EndRead(IAsyncResult) |
Waits for the pending asynchronous read to complete.
(Inherited from Stream.) |
![]() | EndWrite(IAsyncResult) |
Ends an asynchronous write operation.
(Inherited from Stream.) |
![]() | Equals(Object) | (Inherited from Object.) |
![]() | ExecuteParseOnSeparateThread |
Gets or sets a flag that allows frame parsing to be executed on a separate thread (i.e., other than communications thread).
(Inherited from FrameParserBase<(Of <(<'TFrameIdentifier>)>)>.) |
![]() | Finalize()()()() |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) |
![]() | Flush()()()() |
Clears all buffers for this stream and causes any buffered data to be parsed immediately.
(Inherited from FrameParserBase<(Of <(<'TFrameIdentifier>)>)>.) |
![]() | GetHashCode()()()() |
Serves as a hash function for a particular type.
(Inherited from Object.) |
![]() | GetLifetimeService()()()() |
Retrieves the current lifetime service object that controls the lifetime policy for this instance.
(Inherited from MarshalByRefObject.) |
![]() | GetType()()()() |
Gets the Type of the current instance.
(Inherited from Object.) |
![]() | InitializeLifetimeService()()()() |
Obtains a lifetime service object to control the lifetime policy for this instance.
(Inherited from MarshalByRefObject.) |
![]() | Length()()()() | (Inherited from BinaryImageParserBase.) |
![]() | MemberwiseClone(Boolean) |
Creates a shallow copy of the current MarshalByRefObject object.
(Inherited from MarshalByRefObject.) |
![]() | MemberwiseClone()()()() |
Creates a shallow copy of the current Object.
(Inherited from Object.) |
![]() | Name()()()() | (Inherited from BinaryImageParserBase.) |
![]() | OnConfigurationChanged()()()() |
Raises the ConfigurationChanged event.
(Inherited from FrameParserBase<(Of <(<'TFrameIdentifier>)>)>.) |
![]() | OnDataDiscarded(array<Byte>[]()[][]) | (Inherited from BinaryImageParserBase.) |
![]() | OnDataParsed(UTP) | (Inherited from FrameImageParserBase<(Of <(<'FrameType, ISupportFrameImage<(Of <(<'FrameType>)>)>>)>)>.) |
![]() | OnDuplicateTypeHandlerEncountered(Type, UTP) | (Inherited from FrameImageParserBase<(Of <(<'FrameType, ISupportFrameImage<(Of <(<'FrameType>)>)>>)>)>.) |
![]() | OnOutputTypeNotFound(UTP) | (Inherited from FrameImageParserBase<(Of <(<'FrameType, ISupportFrameImage<(Of <(<'FrameType>)>)>>)>)>.) |
![]() | OnParsingException(Exception) | (Inherited from BinaryImageParserBase.) |
![]() | OnReceivedChannelFrame(IChannelFrame) |
Casts the parsed IChannelFrame to its specific implementation (i.e., DataFrame, ConfigurationFrame, CommandFrame or HeaderFrame).
(Overrides FrameParserBase<(Of <(<'FrameType>)>)>.OnReceivedChannelFrame(IChannelFrame).) |
![]() | OnReceivedCommandFrame(ICommandFrame) |
Raises the ReceivedCommandFrame event.
(Inherited from FrameParserBase<(Of <(<'TFrameIdentifier>)>)>.) |
![]() | OnReceivedConfigurationFrame(IConfigurationFrame) |
Raises the ReceivedConfigurationFrame event.
(Overrides FrameParserBase<(Of <(<'FrameType>)>)>.OnReceivedConfigurationFrame(IConfigurationFrame).) |
![]() | OnReceivedDataFrame(IDataFrame) |
Raises the ReceivedDataFrame event.
(Inherited from FrameParserBase<(Of <(<'TFrameIdentifier>)>)>.) |
![]() | OnReceivedFrameBufferImage(FundamentalFrameType, array<Byte>[]()[][], Int32, Int32) |
Raises the ReceivedFrameBufferImage event.
(Inherited from FrameParserBase<(Of <(<'TFrameIdentifier>)>)>.) |
![]() | OnReceivedHeaderFrame(IHeaderFrame) |
Raises the ReceivedHeaderFrame event.
(Overrides FrameParserBase<(Of <(<'FrameType>)>)>.OnReceivedHeaderFrame(IHeaderFrame).) |
![]() | OnReceivedUndeterminedFrame(IChannelFrame) |
Raises the ReceivedUndeterminedFrame event.
(Inherited from FrameParserBase<(Of <(<'TFrameIdentifier>)>)>.) |
![]() | OnUnknownFrameTypeEncountered(TFrameIdentifier) |
Handles unknown frame types.
(Inherited from FrameParserBase<(Of <(<'TFrameIdentifier>)>)>.) |
![]() | OutputTypeNotFound()()()() | (Inherited from FrameImageParserBase<(Of <(<'FrameType, ISupportFrameImage<(Of <(<'FrameType>)>)>>)>)>.) |
![]() | Parse(ISupportBinaryImage) | (Inherited from BinaryImageParserBase.) |
![]() | ParseCommonHeader(array<Byte>[]()[][], Int32, Int32) |
Parses a common header instance that implements ICommonHeader for the output type represented
in the binary image.
(Overrides FrameImageParserBase<(Of <(<'FrameType, ISupportFrameImage<(Of <(<'FrameType>)>)>>)>)>.ParseCommonHeader(array<Byte>[]()[][], Int32, Int32).) |
![]() | ParseFrame(array<Byte>[]()[][], Int32, Int32) | (Inherited from FrameImageParserBase<(Of <(<'FrameType, ISupportFrameImage<(Of <(<'FrameType>)>)>>)>)>.) |
![]() | ParseQueuedBuffers(array<array<Byte>[]()[][]>[]()[][]) |
This method is used by the internal ProcessQueue to process all queued data buffers.
(Inherited from FrameParserBase<(Of <(<'TFrameIdentifier>)>)>.) |
![]() | ParsingException()()()() | (Inherited from BinaryImageParserBase.) |
![]() | Position()()()() | (Inherited from BinaryImageParserBase.) |
![]() | ProtocolSyncBytes()()()() | (Inherited from BinaryImageParserBase.) |
![]() | ProtocolUsesSyncBytes |
Gets flag that determines if this protocol parsing implementation uses synchronization bytes.
(Overrides BinaryImageParserBase.ProtocolUsesSyncBytes()()()().) |
![]() | QueuedBuffers |
Gets the total number of buffers that are currently queued for processing, if any.
(Inherited from FrameParserBase<(Of <(<'TFrameIdentifier>)>)>.) |
![]() | Read(array<Byte>[]()[][], Int32, Int32) | (Inherited from BinaryImageParserBase.) |
![]() | ReadByte()()()() |
Reads a byte from the stream and advances the position within the stream by one byte, or returns -1 if at the end of the stream.
(Inherited from Stream.) |
![]() | ReadTimeout |
Gets or sets a value, in miliseconds, that determines how long the stream will attempt to read before timing out.
(Inherited from Stream.) |
![]() | ReceivedCommandFrame |
Occurs when an IEEE 1344 CommandFrame has been received.
|
![]() | ReceivedConfigurationFrame |
Occurs when an IEEE 1344 ConfigurationFrame has been received.
|
![]() | ReceivedDataFrame |
Occurs when an IEEE 1344 DataFrame has been received.
|
![]() | ReceivedFrameBufferImage |
Occurs when a frame buffer image has been received.
(Inherited from FrameParserBase<(Of <(<'TFrameIdentifier>)>)>.) |
![]() | ReceivedHeaderFrame |
Occurs when an IEEE 1344 HeaderFrame has been received.
|
![]() | ReceivedUndeterminedFrame |
Occurs when an undetermined IChannelFrame has been received.
(Inherited from FrameParserBase<(Of <(<'TFrameIdentifier>)>)>.) |
![]() | RunTime()()()() | (Inherited from BinaryImageParserBase.) |
![]() | Seek(Int64, SeekOrigin) | (Inherited from BinaryImageParserBase.) |
![]() | SetLength(Int64) | (Inherited from BinaryImageParserBase.) |
![]() | Start()()()() |
Start the data parser.
(Overrides FrameImageParserBase<(Of <(<'FrameType, ISupportFrameImage<(Of <(<'FrameType>)>)>>)>)>.Start()()()().) |
![]() | Start(IEnumerable<(Of <<'(Type>)>>)) |
Starts the frame parser given the specified type implementations.
(Inherited from FrameParserBase<(Of <(<'TFrameIdentifier>)>)>.) |
![]() | Status |
Gets current descriptive status of the FrameParserBase<(Of <(<'TFrameIdentifier>)>)>.
(Inherited from FrameParserBase<(Of <(<'TFrameIdentifier>)>)>.) |
![]() | Stop()()()() |
Stops the frame parser.
(Inherited from FrameParserBase<(Of <(<'TFrameIdentifier>)>)>.) |
![]() | StreamInitialized()()()() | (Inherited from BinaryImageParserBase.) |
![]() | ToString()()()() | (Inherited from Object.) |
![]() | TotalProcessedBuffers()()()() | (Inherited from BinaryImageParserBase.) |
![]() | UnparsedBuffer()()()() | (Inherited from BinaryImageParserBase.) |
![]() | Write(array<Byte>[]()[][], Int32, Int32) |
Writes a sequence of bytes onto the stream for parsing.
(Inherited from FrameParserBase<(Of <(<'TFrameIdentifier>)>)>.) |
![]() | WriteByte(Byte) |
Writes a byte to the current position in the stream and advances the position within the stream by one byte.
(Inherited from Stream.) |
![]() | WriteTimeout |
Gets or sets a value, in miliseconds, that determines how long the stream will attempt to write before timing out.
(Inherited from Stream.) |

Frame parser is implemented as a write-only stream - this way data can come from any source.

Object | ||||||
![]() | MarshalByRefObject | |||||
![]() | Stream | |||||
![]() | BinaryImageParserBase | |||||
![]() | FrameImageParserBase<(Of <(<'FrameType, ISupportFrameImage<(Of <(<'FrameType>)>)>>)>)> | |||||
![]() | FrameParserBase<(Of <(<'FrameType>)>)> | |||||
![]() | FrameParser |