Reusable Java library of general tools with minimal external dependencies.
For questions or support, please contact us:
Email: support@aoindustries.com
Phone: 1-800-519-9541
Phone: +1-251-607-9556
Web: https://www.aoindustries.com/contact
public class BandwidthLimitingTunnelHandlerUpstreamThread extends BandwidthLimitingTunnelHandlerThread
BandwidthLimitingTunnel.BandwidthLimitingTunnelHandler,
BandwidthLimitingTunnelMINIMUM_BIT_RATE| Constructor and Description |
|---|
BandwidthLimitingTunnelHandlerUpstreamThread(boolean verbose,
Long upstream_bandwidth,
Socket listenSocket,
Socket connectSocket) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getDirection() |
protected InputStream |
getInputStream(Socket listenSocket,
Socket connectSocket) |
protected OutputStream |
getOutputStream(Socket listenSocket,
Socket connectSocket) |
getBitRate, getBlockSize, run, startprotected String getDirection()
getDirection in class BandwidthLimitingTunnelHandlerThreadprotected OutputStream getOutputStream(Socket listenSocket, Socket connectSocket) throws IOException
getOutputStream in class BandwidthLimitingTunnelHandlerThreadIOExceptionprotected InputStream getInputStream(Socket listenSocket, Socket connectSocket) throws IOException
getInputStream in class BandwidthLimitingTunnelHandlerThreadIOExceptionCopyright © 2000–2016 AO Industries, Inc.. All rights reserved.