public class I2PTunnelHTTPClientRunner extends I2PTunnelRunner
I2PTunnelRunner.FailCallback
I2PThread.OOMEventListener
Thread.State, Thread.UncaughtExceptionHandler
_log, MAX_PACKET_SIZE, NETWORK_BUFFER_SIZE
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
Constructor and Description |
---|
I2PTunnelHTTPClientRunner(Socket s,
I2PSocket i2ps,
Object slock,
byte[] initialI2PData,
List<I2PSocket> sockList,
I2PTunnelRunner.FailCallback onFail)
Does NOT start itself.
|
Modifier and Type | Method and Description |
---|---|
protected void |
close(OutputStream out,
InputStream in,
OutputStream i2pout,
InputStream i2pin,
Socket s,
I2PSocket i2ps,
Thread t1,
Thread t2)
Why is this overridden?
Why flush in super but not here?
Why do things in different order than in super?
|
protected OutputStream |
getSocketOut()
Only call once!
|
errorOccurred, getLastActivityOn, getSocketIn, getStartedOn, isFinished, run
addOOMEventThreadListener, fireOOM, removeOOMEventThreadListener
addOOMEventListener, removeOOMEventListener, start
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, stop, stop, suspend, toString, yield
protected OutputStream getSocketOut() throws IOException
getSocketOut
in class I2PTunnelRunner
IOException
protected void close(OutputStream out, InputStream in, OutputStream i2pout, InputStream i2pin, Socket s, I2PSocket i2ps, Thread t1, Thread t2) throws InterruptedException
close
in class I2PTunnelRunner
InterruptedException