edu.cmu.aura.service.rpc
Class GenericStub

java.lang.Object
  |
  +--edu.cmu.aura.service.rpc.GenericStub
Direct Known Subclasses:
PrimitiveServiceStub, QueryClientStub

public abstract class GenericStub
extends java.lang.Object

GenericStub is the superclass of actual stubs to remote interface implementations. The actual stubs put their parameters into an ArrayList and call executeCall in this class. Execute call then actually invokes the method, and returns the Object back to the stub method. The stub method may then alter the returned object as needed.


Constructor Summary
GenericStub()
          Create a GenericStub.
GenericStub(RemoteReference dest)
          Create a GenericStub to a specific destination, the source for calls using this interface will be anonymous.
 
Method Summary
 void setDest(RemoteReference dest)
          Set the destination for this stub.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GenericStub

public GenericStub()
Create a GenericStub.

GenericStub

public GenericStub(RemoteReference dest)
Create a GenericStub to a specific destination, the source for calls using this interface will be anonymous.
Parameters:
dest - a reference to the implementation.
Method Detail

setDest

public void setDest(RemoteReference dest)
Set the destination for this stub.
Parameters:
dest - a reference to the implementation.