CreateNewCellFunctionT Delegate

Defines function signature for creating new IChannelCell objects.

Definition

Namespace: Gemstone.PhasorProtocols
Assembly: Gemstone.PhasorProtocols (in Gemstone.PhasorProtocols.dll) Version: 1.0.128 -- Release Build+dd7f32701ba80de4d5b0557e84e0ddc18a34573f
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