|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectde.karb.hitcryptoproxy.HitCryptoProxyServer.ProxyWorker
public class HitCryptoProxyServer.ProxyWorker
Listens for connections to its server socket to start a new
ClientWorker thread This class implements
Runnable. Two instances are started in a thread, one for the
test mode and one for the production mode.
| Constructor Summary | |
|---|---|
HitCryptoProxyServer.ProxyWorker(Configuration.Mode pMode)
Constructor of the runnable ProxyWorker |
|
| Method Summary | |
|---|---|
void |
run()
When ProxyWorker is used to create a thread, starting
the thread causes this method to be called in that separately
executing thread. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HitCryptoProxyServer.ProxyWorker(Configuration.Mode pMode)
throws java.net.SocketException
ProxyWorker
pMode - the mode production or test
java.net.SocketException - if there is an error in the underlying protocol, such as
a TCP error.| Method Detail |
|---|
public void run()
ProxyWorker is used to create a thread, starting
the thread causes this method to be called in that separately
executing thread.
This method listens to to server socket and starts a
ClientWorker thread when a connection is accepted
run in interface java.lang.RunnableRunnable.run()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||