com.flat502.rox.server
Class DeferredMethodCall

java.lang.Object
  extended by com.flat502.rox.server.DeferredMethodCall

public class DeferredMethodCall
extends java.lang.Object

A utility class that pairs up an RpcMethodProxy instance with an asynchronous method call.

This class provides proxying of plain old Java objects in a form that is compatible with an AsyncRequestHandler implementation.


Constructor Summary
DeferredMethodCall(RpcMethodProxy proxy, RpcCall call, ResponseChannel rspChannel)
           
 
Method Summary
 void invoke()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeferredMethodCall

public DeferredMethodCall(RpcMethodProxy proxy,
                          RpcCall call,
                          ResponseChannel rspChannel)
Method Detail

invoke

public void invoke()
            throws java.io.IOException,
                   MarshallingException
Throws:
java.io.IOException
MarshallingException