public class BandwidthLimitingTunnelHandlerDownstreamThread extends BandwidthLimitingTunnelHandlerThread
BandwidthLimitingTunnel.BandwidthLimitingTunnelHandler,
BandwidthLimitingTunnelMINIMUM_BIT_RATE| Constructor and Description |
|---|
BandwidthLimitingTunnelHandlerDownstreamThread(boolean verbose,
Long downstream_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 © 2016. All rights reserved.