code: function ListenEvents (server) {
      var count =0;  // Simple counter to make easier to follow message flow
  
  
      // Events from queued jobs
      function EventHandlerQueue (status, job){
          console.log ("#%d- Queue Status=%s DevId=%s Command=%s JobReq=%d Retry=%d", count, status, job.devId, job.command, job.request, job.retry);
      };
      // Events successful process by tracker adapter
      function EventHandlerAccept (device, data){
          console.log ("#%d- Action Devid:[%s] Name:[%s] Cmd:[%s] Lat:%d Lon:%d Speed=%d", count, device.devid, device.name, data.cmd, data.lat, data.lon, data.sog);
      };
      // Events on action refused by tracker adapter
      function EventHandlerError (status, info, id, msg){
          console.log ("#%d- Notice Info=%s Data=%s Id=%s Msg:%s", count, status, info, id, msg );
      };
  
      // let's use the same event handler for all gpsdTracker
      server.event.on("queue",EventHandlerQueue);
      server.event.on("accept",EventHandlerAccept);
      server.event.on("notice",EventHandlerError);
  }
docs: ----------- User Event Handler -----------------