|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Thread
inputOutputHandler.ProxyConnectionHandler
final class ProxyConnectionHandler
Handles communication with a proxy server.
Not implemented! Currently any Request data is echoed.
Nevertheless, suiting (synchronized) buffers (and methods for manipulation)
are already present in userDatabase.User ensuring simple
integration.
User.putInProxyWriteBuffer(byte[]),
User.putInProxyReadBuffer(byte[]),
User.getFromProxyReadBuffer(int),
User.getFromProxyWriteBuffer(int),
User.availableDataInProxyReadBuffer(),
User.availableDataInProxyWriteBuffer()| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class java.lang.Thread |
|---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
| Field Summary | |
|---|---|
private InputOutputHandlerController |
inputOutputHandler
Reference on InputOutputHandlerController() (Used to get
processed requests which shall be submitted to the proxy). |
| Fields inherited from class java.lang.Thread |
|---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| Constructor Summary | |
|---|---|
protected |
ProxyConnectionHandler(InputOutputHandlerController inputOutputHandler)
Generates a new ProxyConnectionHandler, which handles
communication with a proxy server. |
| Method Summary | |
|---|---|
void |
run()
Waits for processed Requests and puts their payload in the
suiting User's proxy buffer. |
| Methods inherited from class java.lang.Thread |
|---|
activeCount, checkAccess, 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, yield |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
private InputOutputHandlerController inputOutputHandler
InputOutputHandlerController() (Used to get
processed requests which shall be submitted to the proxy).
InputOutputHandlerController.getProcessedRequest()| Constructor Detail |
|---|
protected ProxyConnectionHandler(InputOutputHandlerController inputOutputHandler)
ProxyConnectionHandler, which handles
communication with a proxy server.
Not implemented! Currently any Request data is echoed.
Nevertheless, suiting (synchronized) buffers (and methods for manipulation)
are already present in userDatabase.User ensuring simple
integration.
User.putInProxyWriteBuffer(byte[]),
User.putInProxyReadBuffer(byte[]),
User.getFromProxyReadBuffer(int),
User.getFromProxyWriteBuffer(int),
User.availableDataInProxyReadBuffer(),
User.availableDataInProxyWriteBuffer()| Method Detail |
|---|
public void run()
Requests and puts their payload in the
suiting User's proxy buffer.
run in interface java.lang.Runnablerun in class java.lang.ThreadUser.putInProxyWriteBuffer(byte[])
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||