code: function(isRetry) {
          if (asyncLogging) {
            if (workerId > 0) {
              Utility.asyncStepLogger(workerId + "\t Registering Device");
            } else {
              Utility.asyncStepLogger("Registering Device");
            }
          }
  
          var content = {
            appId: appId,
            deviceId: deviceId
          };
  
          if (peerId !== undefined) {
            content.refresh = true;
          } else {
            content.renew = true;
          }
  
          pushSendData({
            type: asyncMessageType.DEVICE_REGISTER,
            content: content
          });
        }
docs: *****************************************************
  P R I V A T E   M E T H O D S            *
  *****************************************************