Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.enterprisedt.net.ftp
Class BandwidthThrottler

    java.lang.Object
      com.enterprisedt.net.ftp.BandwidthThrottler

    public class BandwidthThrottler

extends java.lang.Object

Helps throttle bandwidth for transfers

Version:
  $Revision: 1.1 $
Author:
  Bruce Blackshaw

Constructor Summary
`BandwidthThrottler(int thresholdBytesPerSec)`

Method Summary
`int` | `getThreshold()`
`void` | `reset()`
`void` | `setThreshold(int thresholdBytesPerSec)`
`void` | `throttleTransfer(long bytesSoFar)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### BandwidthThrottler

    public BandwidthThrottler(int thresholdBytesPerSec)

Method Detail

### setThreshold

    public void setThreshold(int thresholdBytesPerSec)

### getThreshold

    public int getThreshold()

### throttleTransfer

    public void throttleTransfer(long bytesSoFar)

### reset

    public void reset()

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright (c) 2001-2007 Enterprise Distributed Technologies Ltd. All Rights Reserved.