Beispiel #1
0
        public Link(Channel parent)
        {
            if (parent == null)
            {
                throw new ArgumentNullException();
            }

            Parent = parent;
            Type = LinkType.Unidentified;
        }
Beispiel #2
0
        public RoadLink(Channel parent, SerialPort port)
            : base(parent)
        {
            if (port == null)
            {
                throw new ArgumentNullException();
            }

            Port = port;
        }
Beispiel #3
0
 public WSSession(Channel parent, WebSocket socket)
     : base (parent)
 {
     webSocket = socket;
 }