code: function DevAdapter (controller) {
      this.id        = controller.svc;
      this.uid       = "//" + controller.svcopts.adapter + "/" + controller.svc + ":" +  controller.svcopts.port;;
      this.id        = controller.svcopts.adapter;
      this.info      = 'websock';
      this.control   = 'websock';                // this wait for clients to connect via websock  
      this.debug     =  controller.svcopts.debug; // inherit debug from controller
      this.src       =  controller.svcopts.src || controller.svcopts.port; // websock serial id for HTML clients
      this.controller =  controller;               // keep a link to device controller and TCP socket
      this.clients   =  [];                      // array to keep track of client
      this.count     =  0;                       // index for incomming client
      this.Debug (1,"uid=%s", this.uid);    
  
      HookBackendEvent(this, controller.gateway.backend);
  }
docs: Adapter is an object own by a given device controller that handle data connection