Exemple #1
0
 public AddConsumerNode(NodeIdentifier nodeId, NodePosition position, int capacity)
 {
     NodeId   = nodeId ?? throw new System.ArgumentNullException(nameof(nodeId));
     Position = position ?? throw new System.ArgumentNullException(nameof(position));
     Capacity = capacity;
 }
Exemple #2
0
 public Gateway(NodeIdentifier id, NodePosition position, NodeQueue queue, NodePortSet ports) : base(id, position, queue, ports)
 {
 }
Exemple #3
0
 public Router(NodeIdentifier id, NodePosition position, NodeQueue queue, NodePortSet ports, RouterState state) : base(id, position, queue, ports)
 {
     State = state ?? throw new ArgumentNullException(nameof(state));
 }
Exemple #4
0
 public Consumer(NodeIdentifier id, NodePosition position, NodeQueue queue, NodePortSet ports) : base(id, position, queue, ports)
 {
 }