code: function DevAdapter (controller) {
      this.id        = controller.svc;
      this.uid       = "//" + controller.svcopts.adapter + "/" + controller.svc + ":" +  controller.svcopts.port;;
      this.info      = 'aistcp';
      this.control   = 'tcpsock';                 // this wait for AIS clients to connect via TCP  
      this.debug     =  controller.svcopts.debug; // inherit debug from controller
      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.uport     =  controller.svcopts.uport;
      this.uhost     =  controller.svcopts.uhost || "127.0.0.1";
      this.Debug (1,"uid=%s", this.uid);
  
      // create UDP port to push packet out
      if (this.uport) this.usock = dgram.createSocket('udp4');
  
      HookBackendEvent(this, controller.gateway.backend);
  }
docs: Adapter is an object own by a given device controller that handle data connection