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

java.lang.Object
  extended by org.objectweb.carol.rmi.jrmp.server.JRemoteServerCall
All Implemented Interfaces:
java.rmi.server.RemoteCall

public class JRemoteServerCall
extends java.lang.Object
implements java.rmi.server.RemoteCall

Class JRemoteServerCall is the CAROL JRMP Remote Server call with context propagation

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

Field Summary
protected  JServerRequestInterceptor[] sis
          Array of Interceptor for this Server Ref
 
Constructor Summary
JRemoteServerCall(java.rmi.server.RemoteCall impl, JServerRequestInterceptor[] sis)
          Constructor for server side call
 
Method Summary
 void done()
          Deprecated.  
 void executeCall()
          Deprecated.  
 java.io.ObjectInput getInputStream()
          Deprecated.  
 java.io.ObjectOutput getOutputStream()
          Deprecated.  
 java.io.ObjectOutput getResultStream(boolean success)
          Deprecated.  
 void releaseInputStream()
          Deprecated.  
 void releaseOutputStream()
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

sis

protected JServerRequestInterceptor[] sis
Array of Interceptor for this Server Ref

Constructor Detail

JRemoteServerCall

public JRemoteServerCall(java.rmi.server.RemoteCall impl,
                         JServerRequestInterceptor[] sis)
Constructor for server side call

Parameters:
impl - the Remote call
sis - the server interceptor
Method Detail

getResultStream

public java.io.ObjectOutput getResultStream(boolean success)
                                     throws java.io.IOException,
                                            java.io.StreamCorruptedException
Deprecated. 

override getResultStream to dissociate and pass contexts back to the client. This method might be called several times.

Specified by:
getResultStream in interface java.rmi.server.RemoteCall
Parameters:
success - if success
Throws:
java.io.IOException
java.io.StreamCorruptedException

getOutputStream

public java.io.ObjectOutput getOutputStream()
                                     throws java.io.IOException
Deprecated. 

Specified by:
getOutputStream in interface java.rmi.server.RemoteCall
Throws:
java.io.IOException

releaseOutputStream

public void releaseOutputStream()
                         throws java.io.IOException
Deprecated. 

Specified by:
releaseOutputStream in interface java.rmi.server.RemoteCall
Throws:
java.io.IOException
See Also:
RemoteCall.releaseOutputStream()

getInputStream

public java.io.ObjectInput getInputStream()
                                   throws java.io.IOException
Deprecated. 

Specified by:
getInputStream in interface java.rmi.server.RemoteCall
Throws:
java.io.IOException
See Also:
RemoteCall.getInputStream()

releaseInputStream

public void releaseInputStream()
                        throws java.io.IOException
Deprecated. 

Specified by:
releaseInputStream in interface java.rmi.server.RemoteCall
Throws:
java.io.IOException
See Also:
RemoteCall.releaseInputStream()

executeCall

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

Specified by:
executeCall in interface java.rmi.server.RemoteCall
Throws:
java.lang.Exception
See Also:
RemoteCall.executeCall()

done

public void done()
          throws java.io.IOException
Deprecated. 

Specified by:
done in interface java.rmi.server.RemoteCall
Throws:
java.io.IOException
See Also:
RemoteCall.done()