public Link(Channel parent) { if (parent == null) { throw new ArgumentNullException(); } Parent = parent; Type = LinkType.Unidentified; }
public RoadLink(Channel parent, SerialPort port) : base(parent) { if (port == null) { throw new ArgumentNullException(); } Port = port; }
public WSSession(Channel parent, WebSocket socket) : base (parent) { webSocket = socket; }