|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.vinci.transport.BaseServerRunnable
public class BaseServerRunnable
Runnable class used by BaseServer to concurrently service requests.
| Constructor Summary | |
|---|---|
BaseServerRunnable(java.net.Socket c,
BaseServer p)
|
|
| Method Summary | |
|---|---|
protected BaseServer |
getParent()
|
static java.net.Socket |
getSocket()
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. |
Transportable |
handleHeader(KeyValuePair header)
|
void |
run()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BaseServerRunnable(java.net.Socket c,
BaseServer p)
| Method Detail |
|---|
public static java.net.Socket getSocket()
protected BaseServer getParent()
public void run()
run in interface java.lang.Runnablepublic Transportable handleHeader(KeyValuePair header)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||