|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.aspectwerkz.connectivity.RemoteProxyServer
Server that listens to a specified port for client requests.
The implementation is based on sockets. The invoker spawns a specified number of listener threads in which each one of these spawns a new RemoteProxyServerThread for each client request that comes in. Uses a thread pool from util.concurrent.
Constructor Summary | |
RemoteProxyServer(java.lang.ClassLoader loader,
Invoker invoker)
Starts a server object and starts listening for client access. |
Method Summary | |
void |
run()
Does the actual work of listening for a client request and spawns a new RemoteProxyServerThread to serve the client. |
void |
start()
Starts up the proxy server. |
void |
stop()
Stops the socket proxy server. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public RemoteProxyServer(java.lang.ClassLoader loader, Invoker invoker)
loader
- the classloader to useinvoker
- the invoker that makes the method invocation in the client threadMethod Detail |
public void start()
public void stop()
public void run()
run
in interface java.lang.Runnable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |