org.objectweb.carol.rmi.jrmp.interceptor
Interface JServerRequestInterceptor

All Known Implementing Classes:
ProtocolInterceptor

public interface JServerRequestInterceptor

Interface JServerRequestIntercepto is the CAROL JRMP Server Interceptor interface

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_request(JServerRequestInfo jri)
          Receive request
 void send_exception(JServerRequestInfo jri)
          send exception with context
 void send_other(JServerRequestInfo jri)
           
 void send_reply(JServerRequestInfo jri)
          send reply with context
 

Method Detail

receive_request

public void receive_request(JServerRequestInfo jri)
                     throws java.io.IOException
Receive request

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

send_reply

public void send_reply(JServerRequestInfo jri)
                throws java.io.IOException
send reply with context

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

send_exception

public void send_exception(JServerRequestInfo jri)
                    throws java.io.IOException
send exception with context

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

send_other

public void send_other(JServerRequestInfo jri)
                throws java.io.IOException
Throws:
java.io.IOException

name

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

Returns:
name