|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.codehaus.aspectwerkz.connectivity.RemoteProxyServer
public class 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(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 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RemoteProxyServer(ClassLoader loader,
Invoker invoker)
loader - the classloader to useinvoker - the invoker that makes the method invocation in the client thread| Method Detail |
|---|
public void start()
public void stop()
public void run()
run in interface Runnable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||