| |
|
| java.lang.Object org.codehaus.aspectwerkz.connectivity.RemoteProxyServer
RemoteProxyServer | public class RemoteProxyServer implements Runnable(Code) | | 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.
author: Jonas BonŽr |
Method Summary | |
public void | run() Does the actual work of listening for a client request and spawns a new RemoteProxyServerThread to serve the
client. | public void | start() Starts up the proxy server. | public void | stop() Stops the socket proxy server. |
RemoteProxyServer | public RemoteProxyServer(ClassLoader loader, Invoker invoker)(Code) | | Starts a server object and starts listening for client access.
Parameters: loader - the classloader to use Parameters: invoker - the invoker that makes the method invocation in the client thread |
run | public void run()(Code) | | Does the actual work of listening for a client request and spawns a new RemoteProxyServerThread to serve the
client.
|
start | public void start()(Code) | | Starts up the proxy server.
|
stop | public void stop()(Code) | | Stops the socket proxy server.
|
|
|
|