PortMode Enumeration

Microsoft Robotics Class Reference

Port operation modes

Namespace: Microsoft.Ccr.Core.Arbiters
Assembly: Microsoft.Ccr.Core (in Microsoft.Ccr.Core.dll) Version: 4.0.261.0 (4.0.261.0)

Syntax

public enum PortMode

Members

Member name Value Description
Default 0 Default port mode, no optimizations based on registered receivers
OptimizedSingleReissueReceiver 1 Port posting is optimized with the assumption only a single re-issue receiver is registered and it is a single phase (always consumes message during evaluation

Remarks

This mode should be used with caution. It has strict requirements on the receiver that must be registered with the port: 1) Only one receiver must be registered 2) Receiver must be re-issue 3) Receiver.Process() must be implemented in the derived receiver class Note: When the port is in this mode causalities are not propagated.

See Also

Microsoft.Ccr.Core.Arbiters Namespace