Click or drag to resize

MessageContext Constructor

Constructs a MessageContext.

Namespace: Demo3D.PLC.Comms.CIP.Nodes
Assembly: PLC (in PLC.dll) Version: 19.00.00
Syntax
C#
public MessageContext(
	CPFServerReply? cpfReply,
	Func<int>? spaceAvailable,
	Func<IPRoutingInfo?>? routingInformation,
	IConnectionClosed? cipConnectionClosed,
	IConnectionClosed? serverConnectionClosed,
	IComponentLogger? logger
)

Parameters

cpfReply  CPFServerReply
An object for creating CPF replies (or null).
spaceAvailable  FuncInt32
A function for returning the current space available in the CIP reply packet (or null).
routingInformation  FuncIPRoutingInfo
A function to return the request packet routing information (or null).
cipConnectionClosed  IConnectionClosed
A class that will raise an event when the CIP connection closes (or null).
serverConnectionClosed  IConnectionClosed
A class that will raise an event when the TCP/IP server connection closes (or null).
logger  IComponentLogger
An object for logging messages.
See Also