Class BandwidthLimitingTunnel

All Implemented Interfaces:

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.
AO Industries, Inc.
  • Constructor Details

    • BandwidthLimitingTunnel

      public BandwidthLimitingTunnel(boolean verbose, String listenAddress, int listenPort, String connectAddress, int connectPort, Long upstreamBandwidth, Long downstreamBandwidth)
  • Method Details

    • main

      public static void main(String[] args)
    • run

      public void run()
      Specified by:
      run in interface Runnable