org.objectweb.carol.rmi.jrmp.server
Class JRemoteCall

java.lang.Object
  extended by sun.rmi.transport.StreamRemoteCall
      extended by org.objectweb.carol.rmi.jrmp.server.JRemoteCall
All Implemented Interfaces:
java.rmi.server.RemoteCall

public class JRemoteCall
extends sun.rmi.transport.StreamRemoteCall

Class JRemoteCall is the CAROL JRMP Remote call with context propagation

Version:
1.0, 15/07/2002
Author:
Guillaume Riviere (Guillaume.Riviere@inrialpes.fr)

Field Summary
protected  JClientRequestInterceptor[] cis
          Client Interceptor for context propagation
 
Constructor Summary
JRemoteCall(sun.rmi.transport.Connection c, java.rmi.server.ObjID id, int op, long hash, JClientRequestInterceptor[] cis)
          Constructor for client side call
 
Method Summary
 void executeCall()
          Deprecated.  
 
Methods inherited from class sun.rmi.transport.StreamRemoteCall
done, exceptionReceivedFromServer, getConnection, getInputStream, getOutputStream, getResultStream, getServerException, releaseInputStream, releaseOutputStream
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

cis

protected JClientRequestInterceptor[] cis
Client Interceptor for context propagation

Constructor Detail

JRemoteCall

public JRemoteCall(sun.rmi.transport.Connection c,
                   java.rmi.server.ObjID id,
                   int op,
                   long hash,
                   JClientRequestInterceptor[] cis)
            throws java.rmi.RemoteException
Constructor for client side call

Parameters:
c - The connection
id - the object id
hash - the hash code
cis - the client interceptors array
Throws:
java.rmi.RemoteException
Method Detail

executeCall

public void executeCall()
                 throws java.lang.Exception
Deprecated. 

override executeCall to receive and reassociate contexts that were sent back from the server in the case of exeptional return

Specified by:
executeCall in interface java.rmi.server.RemoteCall
Overrides:
executeCall in class sun.rmi.transport.StreamRemoteCall
Throws:
java.lang.Exception