MessageContext Constructor |
Constructs a MessageContext.
Namespace:
Demo3D.PLC.Comms.CIP.Nodes
Assembly:
PLC (in PLC.dll) Version: 15.0.2.11458
Syntaxpublic MessageContext(
CPFServerReply? cpfReply,
Func<int>? spaceAvailable,
Func<IPRoutingInfo?>? routingInformation,
IConnectionClosed? cipConnectionClosed,
IConnectionClosed? serverConnectionClosed,
IComponentLogger? logger
)
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). - logger
- Type: Demo3D.CommonIComponentLogger
An object for logging messages.
See Also