code: public void setPayloadPercentage(int payloadPercentage) {
          if( !(payloadPercentage > 0 && payloadPercentage <= 100) ) {
              //if an invalid percentage is given
              payloadPercentage = 95;
          }
          this.actualPayloadPercentage = (double) payloadPercentage/100;
          setMaxBps(this.downStream, this.downStream.maxBps);
          setMaxBps(this.upStream, this.upStream.maxBps);
      }
docs: To take into account overhead due to underlying protocols (e.g. TCP/IP)
  @param payloadPercentage a  ] 0 , 100] value. where 100 means that the required
  downstream/upstream bandwidth will be full used for
  sending payload.
  Default value is 95%.
  The default value is applied if an out of boundaries value is passed in.