Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.codehaus.aspectwerkz.connectivity
Class RemoteProxyServerThread

    java.lang.Object
      org.codehaus.aspectwerkz.connectivity.RemoteProxyServerThread

All Implemented Interfaces:
  Runnable

    public class RemoteProxyServerThread

extends Object
implements Runnable

Implements a server thread. Each request from the client gets its own instance.

Response to three different commands:
Command.CREATE, Command.INVOKE and Command.CLOSE.

It redirects the method invocation to the Invoker for the class.

Author:
  Jonas Bonr

Constructor Summary
`RemoteProxyServerThread(Socket clientSocket, ClassLoader loader, Invoker invoker, int timeout)` Creates a new instance.

Method Summary
`void` | `run()` Does the actual work of serving the client.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### RemoteProxyServerThread

    public RemoteProxyServerThread(Socket clientSocket,
                                   ClassLoader loader,
                                   Invoker invoker,
                                   int timeout)

  Creates a new instance.

  Parameters:
    `clientSocket` - the client socket
    `loader` - the classloader to use
    `invoker` - the invoker that makes the method invocation in the client thread

Method Detail

### run

    public void run()

  Does the actual work of serving the client.

  Specified by:
    `run` in interface `Runnable`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2002-2005 Jonas Bonér, Alexandre Vasseur. All Rights Reserved.