CreateNewCellFunctionT Delegate

Defines function signature for creating new IChannelCell objects.

Definition

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