org.objectweb.carol.jtests.conform.interceptor.jrmp
Class DummyServerInterceptor

java.lang.Object
  |
  +--org.objectweb.carol.jtests.conform.interceptor.jrmp.DummyServerInterceptor
All Implemented Interfaces:
org.objectweb.carol.rmi.jrmp.interceptor.JServerRequestInterceptor

public class DummyServerInterceptor
extends java.lang.Object
implements org.objectweb.carol.rmi.jrmp.interceptor.JServerRequestInterceptor

Class DummyClientServiceContext is a JRMP Interface for Interceptor implementation for carol testing

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

Constructor Summary
DummyServerInterceptor(java.lang.String name)
          constructor
 
Method Summary
 java.lang.String name()
          get the name of this interceptor
 void receive_request(org.objectweb.carol.rmi.jrmp.interceptor.JServerRequestInfo jri)
          Receive request
 void send_exception(org.objectweb.carol.rmi.jrmp.interceptor.JServerRequestInfo jri)
           
 void send_other(org.objectweb.carol.rmi.jrmp.interceptor.JServerRequestInfo jri)
           
 void send_reply(org.objectweb.carol.rmi.jrmp.interceptor.JServerRequestInfo jri)
          send reply with context
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DummyServerInterceptor

public DummyServerInterceptor(java.lang.String name)
constructor

Method Detail

receive_request

public void receive_request(org.objectweb.carol.rmi.jrmp.interceptor.JServerRequestInfo jri)
                     throws java.io.IOException
Receive request

Specified by:
receive_request in interface org.objectweb.carol.rmi.jrmp.interceptor.JServerRequestInterceptor
Throws:
java.io.IOException - if an exception occur with the ObjectOutput

send_reply

public void send_reply(org.objectweb.carol.rmi.jrmp.interceptor.JServerRequestInfo jri)
                throws java.io.IOException
send reply with context

Specified by:
send_reply in interface org.objectweb.carol.rmi.jrmp.interceptor.JServerRequestInterceptor
Throws:
java.io.IOException - if an exception occur with the ObjectOutput

name

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

Specified by:
name in interface org.objectweb.carol.rmi.jrmp.interceptor.JServerRequestInterceptor
Returns:
name

send_exception

public void send_exception(org.objectweb.carol.rmi.jrmp.interceptor.JServerRequestInfo jri)
                    throws java.io.IOException
Specified by:
send_exception in interface org.objectweb.carol.rmi.jrmp.interceptor.JServerRequestInterceptor
java.io.IOException

send_other

public void send_other(org.objectweb.carol.rmi.jrmp.interceptor.JServerRequestInfo jri)
                throws java.io.IOException
Specified by:
send_other in interface org.objectweb.carol.rmi.jrmp.interceptor.JServerRequestInterceptor
java.io.IOException