CreateNewCellFunctionT Delegate

Defines function signature for creating new IChannelCell objects.

Definition

Namespace: Gemstone.PhasorProtocols
Assembly: Gemstone.PhasorProtocols (in Gemstone.PhasorProtocols.dll) Version: 1.0.158 -- Release Build+4e142f43dbc4b789ed7256dff03daee71604570b
public delegate T CreateNewCellFunction<T>(
	IChannelFrame parent,
	IChannelFrameParsingState<T> state,
	int index,
	byte[] buffer,
	int startIndex,
	out int parsedLength
)
where T : IChannelCell

Parameters

parent  IChannelFrame
Reference to parent IChannelFrame.
state  IChannelFrameParsingStateT
Current parsing state of associated IChannelFrame.
index  Int32
Index of cell within its collection.
buffer  Byte
Binary image to parse IChannelCell from.
startIndex  Int32
Start index into buffer to begin parsing.
parsedLength  Int32
Returns the total number of bytes parsed from buffer.

Type Parameters

T
Specific IChannelCell type of object that gets created by referenced function.

Return Value

T
New IChannelCell object.

See Also