public class IncomingTcpConnection
extends java.lang.Thread
| Modifier and Type | Field and Description |
|---|---|
java.net.InetAddress |
from |
| Constructor and Description |
|---|
IncomingTcpConnection(int version,
boolean compressed,
java.net.Socket socket) |
| Modifier and Type | Method and Description |
|---|---|
void |
run()
A new connection will either stream or message for its entire lifetime: because streaming
bypasses the InputStream implementations to use sendFile, we cannot begin buffering until
we've determined the type of the connection.
|
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, start, stop, stop, suspend, toString, yieldpublic IncomingTcpConnection(int version,
boolean compressed,
java.net.Socket socket)
public void run()
run in interface java.lang.Runnablerun in class java.lang.ThreadCopyright © 2015 The Apache Software Foundation