org.objectweb.carol.rmi.jrmp.interceptor

Class ProtocolInterceptor

Implemented Interfaces:
JServerRequestInterceptor

public class ProtocolInterceptor
extends java.lang.Object
implements JServerRequestInterceptor

Class ProtocolInterceptor is the CAROL JRMP Client Interceptor For protocol propagation via current thread

Version:
1.0, 15/07/2002

Author:
Guillaume Riviere (Guillaume.Riviere@inrialpes.fr)

Constructor Summary

ProtocolInterceptor()
constructor

Method Summary

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

Constructor Details

ProtocolInterceptor

public ProtocolInterceptor()
constructor

Parameters:

Method Details

name

public String name()
get the name of this interceptor
Specified by:
name in interface JServerRequestInterceptor

Returns:
name


receive_request

public void receive_request(JServerRequestInfo jri)
            throws IOException
Receive request
Specified by:
receive_request in interface JServerRequestInterceptor

Parameters:


send_exception

public void send_exception(JServerRequestInfo jri)
            throws IOException
send exception with context
Specified by:
send_exception in interface JServerRequestInterceptor

Parameters:


send_other

public void send_other(JServerRequestInfo jri)
            throws IOException
Specified by:
send_other in interface JServerRequestInterceptor


send_reply

public void send_reply(JServerRequestInfo jri)
            throws IOException
send reply with context
Specified by:
send_reply in interface JServerRequestInterceptor

Parameters: