code: public void setPacketRetransmitLimit(int packetRetransmitLimit) {
          packetRetransmitLimit = packetRetransmitLimit < MAX_PACKET_QUEUE_LIMIT ? packetRetransmitLimit : MAX_PACKET_QUEUE_LIMIT;
          packetRetransmitLimit = packetRetransmitLimit >= 0 ? packetRetransmitLimit : 0;
          this.packetRetransmitLimit = packetRetransmitLimit;
      }
docs: Sets a positive number indicating the maximum amount of times that individual packaged user-data may be retransmitted.
  Defaults to {@link ProtocolConfig#MAX_PACKET_RETRANSMIT_LIMIT}.
  
  @param packetRetransmitLimit the packet retransmit limit