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

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

public class JServerInterceptorHelper
extends java.lang.Object

Class JServerInterceptorHelper is the CAROL JRMP Server Interceptor Helper this class is used by the other pakage class to manage server interception

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

Constructor Summary
JServerInterceptorHelper()
           
 
Method Summary
static java.rmi.server.UID getSpaceID()
          hold a unique identifier of this class.
static void receive_request(java.io.ObjectInput in, JServerRequestInterceptor[] sis)
          Receive request
static void send_exception(java.io.ObjectOutput out, JServerRequestInterceptor[] sis)
          send exception with context
static void send_other(java.io.ObjectOutput out, JServerRequestInterceptor[] sis)
           
static void send_reply(java.io.ObjectOutput out, JServerRequestInterceptor[] sis)
          send reply with context
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JServerInterceptorHelper

public JServerInterceptorHelper()
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


receive_request

public static void receive_request(java.io.ObjectInput in,
                                   JServerRequestInterceptor[] sis)
                            throws java.io.IOException
Receive request

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

send_reply

public static void send_reply(java.io.ObjectOutput out,
                              JServerRequestInterceptor[] sis)
                       throws java.io.IOException
send reply with context

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

send_exception

public static void send_exception(java.io.ObjectOutput out,
                                  JServerRequestInterceptor[] sis)
                           throws java.io.IOException
send exception with context

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

send_other

public static void send_other(java.io.ObjectOutput out,
                              JServerRequestInterceptor[] sis)
                       throws java.io.IOException
java.io.IOException