PortSetMode Enumeration
Microsoft Robotics Class Reference
PortSet 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 PortSetMode
Members
Member name | Value | Description | |
---|---|---|---|
Default | 0 | Default mode, independent queues for each type in generic type arguments | |
SharedPort | 1 | PortSet uses a single Port instance for all generic type arguments
RemarksThis mode should be used with caution. It is only appropriate for PortSet instances where only a single message instance will be posted, chosen from one of the types in the generic port definition. Response ports are a common example where having two independent queues is redundant since only one message, on only one of the queues can ever be posted. |