openPDC Synchrophasor Help
CreateBufferQueue Method
NamespacesTVA.PhasorProtocolsFrameParserBase<(Of <(<'TFrameIdentifier>)>)>CreateBufferQueue()()()()
Creates the internal buffer queue.
Declaration Syntax
C#Visual BasicVisual C++
protected virtual ProcessQueue<byte[]> CreateBufferQueue()
Protected Overridable Function CreateBufferQueue As ProcessQueue(Of Byte())
protected:
virtual ProcessQueue<array<unsigned char>^>^ CreateBufferQueue()
Return Value
New internal buffer processing queue (i.e., a new ProcessQueue).
Remarks

This method is virtual to allow derived classes to customize the style of processing queue used when consumers choose to implement an internal buffer queue (i.e., set ExecuteParseOnSeparateThread to true). Default type is a real-time queue with the default settings. When overriding this method, be sure to use the ParseQueuedBuffers(array<array<Byte>[]()[][]>[]()[][]) method for the ProcessQueue) item processing delegate.

Note that current design only supports synchronous parsing - consumer overriding this method to return an asynchronous (i.e., multi-threaded) process queue will need to redesign the processing delegate.

Assembly: TVA.PhasorProtocols (Module: TVA.PhasorProtocols) Version: 1.4.192.0