code: public void setBandwidth(int mbits) {
          // tell the flash player how fast we want data and how fast we shall send it
          getChannel(2).write(new ServerBW(mbits));
          // second param is the limit type (0=hard,1=soft,2=dynamic)
          getChannel(2).write(new ClientBW(mbits, (byte) limitType));
      }
docs: {@inheritDoc}