org.objectweb.carol.rmi.jrmp.interceptor
Interface JClientRequestInterceptor

All Superinterfaces:
java.io.Serializable

public interface JClientRequestInterceptor
extends java.io.Serializable

Interface JClientRequestInterceptor is the CAROL JRMP Client Interceptor Interface this interface is use for client interceptor definition

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

Method Summary
 java.lang.String name()
          get the name of this interceptor
 void receive_exception(JClientRequestInfo jri)
          Receive exception interception
 void receive_other(JClientRequestInfo jri)
           
 void receive_reply(JClientRequestInfo jri)
          Receive reply interception
 void send_poll(JClientRequestInfo jri)
          send client context in pool
 void send_request(JClientRequestInfo jri)
          send client context with the request.
 

Method Detail

send_request

void send_request(JClientRequestInfo jri)
                  throws java.io.IOException
send client context with the request. The sendingRequest method of the JPortableInterceptors is called prior to marshalling arguments and contexts

Parameters:
JClientRequestInfo - jri the jrmp client info
Throws:
java.io.IOException - if an exception occur with the ObjectOutput

send_poll

void send_poll(JClientRequestInfo jri)
               throws java.io.IOException
send client context in pool

Parameters:
JClientRequestInfo - jri the jrmp client info
Throws:
java.io.IOException - if an exception occur with the ObjectOutput

receive_reply

void receive_reply(JClientRequestInfo jri)
                   throws java.io.IOException
Receive reply interception

Parameters:
JClientRequestInfo - jri the jrmp client info
Throws:
java.io.IOException - if an exception occur with the ObjectOutput

receive_exception

void receive_exception(JClientRequestInfo jri)
                       throws java.io.IOException
Receive exception interception

Parameters:
JClientRequestInfo - jri the jrmp client info
Throws:
java.io.IOException - if an exception occur with the ObjectOutput

receive_other

void receive_other(JClientRequestInfo jri)
                   throws java.io.IOException
Throws:
java.io.IOException

name

java.lang.String name()
get the name of this interceptor

Returns:
name