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)); }
public Router(NodeIdentifier id, NodePosition position, NodeQueue queue, NodePortSet ports, RouterState state) : base(id, position, queue, ports) { State = state ?? throw new ArgumentNullException(nameof(state)); }
public Gateway(NodeIdentifier id, NodePosition position, NodeQueue queue, NodePortSet ports) : base(id, position, queue, ports) { }
public Consumer(NodeIdentifier id, NodePosition position, NodeQueue queue, NodePortSet ports) : base(id, position, queue, ports) { }