CreateNewCellFunctionT Delegate

Defines function signature for creating new IChannelCell objects.

Definition

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