Runnable, I2PSocket.SocketErrorListenerpublic class I2PTunnelHTTPClientRunner extends I2PTunnelRunner
I2PThread.OOMEventListenerI2PTunnelRunner.FailCallbackThread.State, Thread.UncaughtExceptionHandler_log, MAX_PACKET_SIZE, NETWORK_BUFFER_SIZEMAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Constructor | Description |
|---|---|
I2PTunnelHTTPClientRunner(Socket s,
I2PSocket i2ps,
Object slock,
byte[] initialI2PData,
List<I2PSocket> sockList,
I2PTunnelRunner.FailCallback onFail) |
Does NOT start itself.
|
| Modifier and Type | Method | 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!
|
addOOMEventThreadListener, fireOOM, removeOOMEventThreadListeneraddOOMEventListener, removeOOMEventListener, starterrorOccurred, getLastActivityOn, getSocketIn, getStartedOn, isFinished, runequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitactiveCount, 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, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, stop, stop, suspend, toString, yieldprotected OutputStream getSocketOut() throws IOException
getSocketOut in class I2PTunnelRunnerIOExceptionprotected void close(OutputStream out, InputStream in, OutputStream i2pout, InputStream i2pin, Socket s, I2PSocket i2ps, Thread t1, Thread t2) throws InterruptedException
close in class I2PTunnelRunnerout - may be nullin - may be nulli2pout - may be nulli2pin - may be nullt1 - may be nullt2 - may be nullInterruptedException