code: function() {
          while (pushSendDataQueue.length > 0 && socketState === socketStateType.OPEN) {
            var msg = pushSendDataQueue.splice(0, 1)[0];
            pushSendData(msg);
          }
        }
docs: *****************************************************
  P R I V A T E   M E T H O D S            *
  *****************************************************