code: public void setPacketOffsetLimit(int packetOffsetLimit) {
          packetOffsetLimit = packetOffsetLimit < MAX_PACKET_OFFSET_LIMIT ? packetOffsetLimit : MAX_PACKET_OFFSET_LIMIT;
          packetOffsetLimit = packetOffsetLimit >= 0 ? packetOffsetLimit : 0;
          this.packetOffsetLimit = packetOffsetLimit;
      }
docs: Sets a positive number indicating the maximum <code>id offset</code> of unresolved <code>unacked</code> or <code>unacked</code>
  packaged user-datas in the internal queue. Defaults to {@link ProtocolConfig#MAX_PACKET_OFFSET_LIMIT}.
  
  @param packetOffsetLimit the packet offset limit