org.objectweb.carol.rmi.jrmp.server

Class JRemoteServerCall

Implemented Interfaces:
RemoteCall

public class JRemoteServerCall
extends java.lang.Object
implements 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(RemoteCall impl, JServerRequestInterceptor[] sis)
Constructor for server side call

Method Summary

void
done()
Deprecated.
void
executeCall()
Deprecated.
ObjectInput
getInputStream()
Deprecated.
ObjectOutput
getOutputStream()
Deprecated.
ObjectOutput
getResultStream(boolean success)
Deprecated.
void
releaseInputStream()
Deprecated.
void
releaseOutputStream()
Deprecated.

Field Details

sis

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

Constructor Details

JRemoteServerCall

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

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

Method Details

done

public void done()
            throws IOException

Deprecated.

See Also:
java.rmi.server.RemoteCall.done()


executeCall

public void executeCall()
            throws Exception

Deprecated.

See Also:
java.rmi.server.RemoteCall.executeCall()


getInputStream

public ObjectInput getInputStream()
            throws IOException

Deprecated.

See Also:
java.rmi.server.RemoteCall.getInputStream()


getOutputStream

public ObjectOutput getOutputStream()
            throws IOException

Deprecated.


getResultStream

public ObjectOutput getResultStream(boolean success)
            throws IOException,
                   StreamCorruptedException

Deprecated.

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

Parameters:
success - if success


releaseInputStream

public void releaseInputStream()
            throws IOException

Deprecated.

See Also:
java.rmi.server.RemoteCall.releaseInputStream()


releaseOutputStream

public void releaseOutputStream()
            throws IOException

Deprecated.

See Also:
java.rmi.server.RemoteCall.releaseOutputStream()