public PingMessage(IEnumerable <NodeMessage> members, NodeMessage sender) : base(members, sender) { }
public AckMessage(IEnumerable <NodeMessage> members, NodeMessage sender, NodeMessage target) : base(members, sender) { Target = target ?? throw new ArgumentNullException(nameof(target)); }
public PingReqMessage(IEnumerable <NodeMessage> members, NodeMessage sender, NodeMessage target) : base(members, sender) { Target = target; }
protected ProtocolMessage(IEnumerable <NodeMessage> members, NodeMessage sender) { Members = members ?? throw new System.ArgumentNullException(nameof(members)); Sender = sender ?? throw new System.ArgumentNullException(nameof(sender)); }