Package org.apache.vinci.transport
Class BaseServerRunnable
java.lang.Object
org.apache.vinci.transport.BaseServerRunnable
- All Implemented Interfaces:
Runnable
- Direct Known Subclasses:
VinciServerRunnable
Runnable class used by BaseServer to concurrently service requests.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate BaseServer
private Socket
private static final ThreadLocal
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected BaseServer
static Socket
Allows anyone in the calling chain of the 'run' method to get access to the socket being used in the Vinci connection via the ThreadLocal variable.handleHeader
(KeyValuePair header) void
run()
-
Field Details
-
socket
-
parent
-
THREAD_LOCAL_SOCKET
-
-
Constructor Details
-
BaseServerRunnable
- Parameters:
c
- -p
- -
-
-
Method Details