- java.lang.Object
-
- com.aoapps.hodgepodge.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 listenAddress, int listenPort, String connectAddress, int connectPort, Long upstreamBandwidth, Long downstreamBandwidth)
-