Beispiel #1
0
 public Node(NodeIdentifier id, NodePosition position, NodeQueue queue, NodePortSet ports)
 {
     Id       = id ?? throw new ArgumentNullException(nameof(id));
     Position = position ?? throw new ArgumentNullException(nameof(position));
     Queue    = queue ?? throw new ArgumentNullException(nameof(queue));
     Ports    = ports ?? throw new ArgumentNullException(nameof(ports));
 }
Beispiel #2
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));
 }
Beispiel #3
0
 public Gateway(NodeIdentifier id, NodePosition position, NodeQueue queue, NodePortSet ports) : base(id, position, queue, ports)
 {
 }
Beispiel #4
0
 public Consumer(NodeIdentifier id, NodePosition position, NodeQueue queue, NodePortSet ports) : base(id, position, queue, ports)
 {
 }