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

public 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

Throws:
java.io.IOException - if an exception occur with the ObjectOutput

send_poll

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

Throws:
java.io.IOException - if an exception occur with the ObjectOutput

receive_reply

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

Throws:
java.io.IOException - if an exception occur with the ObjectOutput

receive_exception

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

Throws:
java.io.IOException - if an exception occur with the ObjectOutput

receive_other

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

name

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

Returns:
name