| Package | Description |
|---|---|
| com.echomine.net |
| Modifier and Type | Class and Description |
|---|---|
class |
SimpleConnectionThrottler
This throttler simply throttles the rate by checking to see if the rate is above the rate limit, and if it
is, sleep occurs so that the rate is decreased (since rate is calculated as data transferred over a period of time).
|
| Modifier and Type | Method and Description |
|---|---|
ConnectionThrottler |
ConnectionModel.getThrottler() |
| Modifier and Type | Method and Description |
|---|---|
void |
ConnectionModel.setThrottler(ConnectionThrottler throttler)
sets the throttler for the connection bandwidth.
|
| Constructor and Description |
|---|
ConnectionModel(java.net.InetAddress host,
int port,
ConnectionThrottler throttler) |
ConnectionModel(java.lang.String hostname,
int port,
ConnectionThrottler throttler) |
Copyright © 2001-2005 Echomine. All Rights Reserved.