org.ow2.carol.rmi.interceptor.spi
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 receiveException(JClientRequestInfo jri)
          Receive exception interception
 void receiveOther(JClientRequestInfo jri)
           
 void receiveReply(JClientRequestInfo jri)
          Receive reply interception
 void sendPoll(JClientRequestInfo jri)
          send client context in pool
 void sendRequest(JClientRequestInfo jri)
          send client context with the request.
 

Method Detail

sendRequest

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

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

sendPoll

void sendPoll(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

receiveReply

void receiveReply(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

receiveException

void receiveException(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

receiveOther

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

name

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

Returns:
name


Copyright © 2008 OW2 Consortium. All Rights Reserved.