Skip navigation links
A C D G H I L M N P R S T U W 

A

at.borkowski.spicej.proxy - package at.borkowski.spicej.proxy
 

C

calculate(long) - Static method in class at.borkowski.spicej.proxy.DelayCalculator
Returns a result for the given delay in nanoseconds and the default epsilon value (DelayCalculator.DEFAULT_EPSILON).
calculate(long, float) - Static method in class at.borkowski.spicej.proxy.DelayCalculator
Returns a result for the given delay and epsilon (error rate).
calculate(float) - Static method in class at.borkowski.spicej.proxy.RateCalculator
Performs a calculation with the default minimal interval (see RateCalculator.MIN_INTERVAL_NS).
calculate(float, int) - Static method in class at.borkowski.spicej.proxy.RateCalculator
Performs a calculation with the given minimal interval.
close() - Method in class at.borkowski.spicej.proxy.StreamGobbler
Interrupts the gobbler and closes its streams.
CommandLine - Class in at.borkowski.spicej.proxy
 
CommandLine() - Constructor for class at.borkowski.spicej.proxy.CommandLine
 
CommandLine.ProxyDescription - Class in at.borkowski.spicej.proxy
 

D

DEFAULT_EPSILON - Static variable in class at.borkowski.spicej.proxy.DelayCalculator
 
DelayCalculator - Class in at.borkowski.spicej.proxy
A utility class allowing easy calculation of parameters required for creating a DelayedInputStream with real-time delay.
DelayCalculator.Result - Class in at.borkowski.spicej.proxy
 

G

getBytesPerTick() - Method in class at.borkowski.spicej.proxy.RateCalculator.Result
 
getDelay() - Method in class at.borkowski.spicej.proxy.DelayCalculator.Result
 
getPrescale() - Method in class at.borkowski.spicej.proxy.RateCalculator.Result
 
getTickNanosecondInterval() - Method in class at.borkowski.spicej.proxy.RateCalculator.Result
 
getTickNanosecondsInterval() - Method in class at.borkowski.spicej.proxy.DelayCalculator.Result
 

H

help - Variable in class at.borkowski.spicej.proxy.CommandLine
 

I

initialize() - Method in class at.borkowski.spicej.proxy.SocketProxy
Initializes the proxy provider.

L

localPort - Variable in class at.borkowski.spicej.proxy.CommandLine.ProxyDescription
 

M

main(String[]) - Static method in class at.borkowski.spicej.proxy.ProxyMain
 
MAX_INTERVAL - Static variable in class at.borkowski.spicej.proxy.DelayCalculator
 
MAX_INTERVAL_NS - Static variable in class at.borkowski.spicej.proxy.RateCalculator
The upper bound for the interval.
MAX_RATE - Static variable in class at.borkowski.spicej.proxy.RateCalculator
The highest byte rate representable with our data model (this is not necessarily the exact maximum value, but a value close enough to the maximum upper bound.
MIN_INTERVAL_NS - Static variable in class at.borkowski.spicej.proxy.RateCalculator
The lower bound for the interval.
MIN_RATE - Static variable in class at.borkowski.spicej.proxy.RateCalculator
The minimum byte rate representable with our data model (this is not necessarily the exact minimum value, but a value close enough to the minimum lower bound.

N

NS_PER_MS - Static variable in class at.borkowski.spicej.proxy.RateCalculator
Nanoseconds per millisecond.
NS_PER_S - Static variable in class at.borkowski.spicej.proxy.RateCalculator
Nanoseconds per second.

P

processCommand(String...) - Static method in class at.borkowski.spicej.proxy.ProxyMain
 
proxyDescription - Variable in class at.borkowski.spicej.proxy.CommandLine
 
ProxyDescription() - Constructor for class at.borkowski.spicej.proxy.CommandLine.ProxyDescription
 
ProxyMain - Class in at.borkowski.spicej.proxy
 
ProxyMain() - Constructor for class at.borkowski.spicej.proxy.ProxyMain
 

R

rate - Variable in class at.borkowski.spicej.proxy.CommandLine
 
RateCalculator - Class in at.borkowski.spicej.proxy
A utility class for calculating parameters necessary for rate limitation of bytes per seconds.
RateCalculator.Result - Class in at.borkowski.spicej.proxy
 
rateReceive - Variable in class at.borkowski.spicej.proxy.CommandLine
 
rateSend - Variable in class at.borkowski.spicej.proxy.CommandLine
 
remoteHost - Variable in class at.borkowski.spicej.proxy.CommandLine.ProxyDescription
 
remotePort - Variable in class at.borkowski.spicej.proxy.CommandLine.ProxyDescription
 
Result(int, int, int) - Constructor for class at.borkowski.spicej.proxy.RateCalculator.Result
 
run() - Method in class at.borkowski.spicej.proxy.SocketProxy
 
run() - Method in class at.borkowski.spicej.proxy.StreamGobbler
 

S

SCALE - Static variable in class at.borkowski.spicej.proxy.RateCalculator
The scale (see BigDecimal) used for internal calculations.
setPrintCommandLineErrors(boolean) - Static method in class at.borkowski.spicej.proxy.ProxyMain
 
setPrintUsage(boolean) - Static method in class at.borkowski.spicej.proxy.ProxyMain
 
SocketProxy - Class in at.borkowski.spicej.proxy
A proxy provider for TCP connections allowing for upstream and downstream rate limitation.
SocketProxy(int, String, int, Float, Float) - Constructor for class at.borkowski.spicej.proxy.SocketProxy
Creates a proxy and binds to the local port.
StreamGobbler - Class in at.borkowski.spicej.proxy
A stream gobbler, copying data from an InputStream to an OutputStream.

T

THRESHOLD - Static variable in class at.borkowski.spicej.proxy.RateCalculator
The threshold value for byterates above which MIN_INTERVAL is reached.

U

udp - Variable in class at.borkowski.spicej.proxy.CommandLine
 

W

waitFor() - Method in class at.borkowski.spicej.proxy.StreamGobbler
Waits until the gobbler finished.
A C D G H I L M N P R S T U W 
Skip navigation links

Copyright © 2015. All rights reserved.