org.objectweb.carol.rmi.iiop.interceptor

Class ProtocolInterceptor

Implemented Interfaces:
ServerRequestInterceptor

public class ProtocolInterceptor
extends LocalObject
implements ServerRequestInterceptor

Class ProtocolInterceptor is the CAROL JNDI IIOP Interceptor for iiop protocol this interceptor mark the current thread for each call with the iiop mark

Version:
1.0, 15/07/2002

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

See Also:
org.omg.PortableInterceptor.ServerRequestInterceptor

Constructor Summary

ProtocolInterceptor()
constructor

Method Summary

void
destroy()
String
name()
get the name of this interceptor
void
receive_request(ServerRequestInfo jri)
Receive request
void
receive_request_service_contexts(ServerRequestInfo jri)
Receive request context
void
send_exception(ServerRequestInfo jri)
void
send_other(ServerRequestInfo jri)
void
send_reply(ServerRequestInfo jri)
send reply with context

Constructor Details

ProtocolInterceptor

public ProtocolInterceptor()
constructor

Method Details

destroy

public void destroy()


name

public String name()
get the name of this interceptor

Returns:
name


receive_request

public void receive_request(ServerRequestInfo jri)
            throws ForwardRequest
Receive request

Parameters:


receive_request_service_contexts

public void receive_request_service_contexts(ServerRequestInfo jri)
            throws ForwardRequest
Receive request context

Parameters:


send_exception

public void send_exception(ServerRequestInfo jri)
            throws ForwardRequest


send_other

public void send_other(ServerRequestInfo jri)
            throws ForwardRequest


send_reply

public void send_reply(ServerRequestInfo jri)
send reply with context

Parameters: