org.objectweb.carol.rmi.jrmp.interceptor
Class JClientInterceptorHelper

java.lang.Object
  |
  +--org.objectweb.carol.rmi.jrmp.interceptor.JClientInterceptorHelper

public class JClientInterceptorHelper
extends java.lang.Object

Class JClientInterceptorHelper is the CAROL JRMP Client Interceptor Helper this class is used by the other pakage class to manage client interception

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

Constructor Summary
JClientInterceptorHelper()
           
 
Method Summary
static java.rmi.server.UID getSpaceID()
          hold a unique identifier of this class.
static void receive_exception(java.io.ObjectInput in, JClientRequestInterceptor[] cis)
          Receive exception interception
static void receive_other(java.io.ObjectInput in, JClientRequestInterceptor[] cis)
           
static void receive_reply(java.io.ObjectInput in, JClientRequestInterceptor[] cis)
          Receive reply interception
static void send_poll(java.io.ObjectOutput out, JClientRequestInterceptor[] cis)
          send client context in pool (see CORBA Specifications)
static void send_request(java.io.ObjectOutput out, JClientRequestInterceptor[] cis)
          send client context with the request.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JClientInterceptorHelper

public JClientInterceptorHelper()
Method Detail

getSpaceID

public static java.rmi.server.UID getSpaceID()
hold a unique identifier of this class. This is used to determine if contexts can be passed by reference using the JObjectStore this is for performance optimization


send_request

public static void send_request(java.io.ObjectOutput out,
                                JClientRequestInterceptor[] cis)
                         throws java.io.IOException
send client context with the request. The sendingRequest method of the PortableInterceptors is called prior to marshalling arguments and contexts

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

send_poll

public static void send_poll(java.io.ObjectOutput out,
                             JClientRequestInterceptor[] cis)
                      throws java.io.IOException
send client context in pool (see CORBA Specifications)

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

receive_reply

public static void receive_reply(java.io.ObjectInput in,
                                 JClientRequestInterceptor[] cis)
                          throws java.io.IOException
Receive reply interception

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

receive_exception

public static void receive_exception(java.io.ObjectInput in,
                                     JClientRequestInterceptor[] cis)
                              throws java.io.IOException
Receive exception interception

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

receive_other

public static void receive_other(java.io.ObjectInput in,
                                 JClientRequestInterceptor[] cis)
                          throws java.io.IOException
java.io.IOException