Package com.aoindustries.net
Class BandwidthLimitingTunnel
- java.lang.Object
-
- com.aoindustries.net.BandwidthLimitingTunnel
-
- All Implemented Interfaces:
Runnable
public class BandwidthLimitingTunnel extends Object implements Runnable
Provides a tunnel for TCP sockets that limits the bandwidth for both upstream and downstream bandwidth. This was developed for the purpose of limiting the upload bandwidth consumed during CVS operations from our main office in order to keep the network responsive. However, it is general purpose and might find additional uses.- Author:
- AO Industries, Inc.
-
-
Constructor Summary
Constructors Constructor Description BandwidthLimitingTunnel(boolean verbose, String listen_address, int listen_port, String connect_address, int connect_port, Long upstream_bandwidth, Long downstream_bandwidth)
-