MessageContext Constructor |
Constructs a MessageContext.
Namespace:
Demo3D.PLC.Comms.CIP.Nodes
Assembly:
PLC (in PLC.dll) Version: 14.0.0.10531
Syntaxpublic MessageContext(
CPFServerReply cpfReply,
Func<int> spaceAvailable,
Func<IPRoutingInfo> routingInformation,
IConnectionClosed cipConnectionClosed,
IConnectionClosed serverConnectionClosed
)
Parameters
- cpfReply
- Type: Demo3D.PLC.Comms.CPFCPFServerReply
An object for creating CPF replies (or null). - spaceAvailable
- Type: SystemFuncInt32
A function for returning the current space available in the CIP reply packet (or null). - routingInformation
- Type: SystemFuncIPRoutingInfo
A function to return the request packet routing information (or null). - cipConnectionClosed
- Type: Demo3D.PLC.CommsIConnectionClosed
A class that will raise an event when the CIP connection closes (or null). - serverConnectionClosed
- Type: Demo3D.PLC.CommsIConnectionClosed
A class that will raise an event when the TCP/IP server connection closes (or null).
See Also