org.jacorb.orb

Class ClientInterceptorHandler


public class ClientInterceptorHandler
extends java.lang.Object

An instance of this class handles all interactions between one particular client request and any interceptors registered for it.

Version:
$Id: ClientInterceptorHandler.java,v 1.7 2004/05/06 12:40:00 nicolas Exp $

Author:
Andre Spiegel

Constructor Summary

ClientInterceptorHandler(ORB orb, RequestOutputStream ros, Object self, Delegate delegate, ParsedIOR piorOriginal, ClientConnection connection)
Constructs an interceptor handler for the given parameters.

Method Summary

void
handle_location_forward(ReplyInputStream reply, Object forward_reference)
void
handle_receive_exception(SystemException ex)
void
handle_receive_exception(SystemException ex, ReplyInputStream reply)
void
handle_receive_exception(ApplicationException ex, ReplyInputStream reply)
void
handle_receive_other(short reply_status)
void
handle_receive_reply(ReplyInputStream reply)
void
handle_send_request()

Constructor Details

ClientInterceptorHandler

public ClientInterceptorHandler(ORB orb,
                                RequestOutputStream ros,
                                Object self,
                                Delegate delegate,
                                ParsedIOR piorOriginal,
                                ClientConnection connection)
Constructs an interceptor handler for the given parameters. If no interceptors are registered on the client side, the resulting object will be a dummy object that does nothing when invoked.

Method Details

handle_location_forward

public void handle_location_forward(ReplyInputStream reply,
                                    Object forward_reference)
            throws RemarshalException


handle_receive_exception

public void handle_receive_exception(SystemException ex)
            throws RemarshalException


handle_receive_exception

public void handle_receive_exception(SystemException ex,
                                     ReplyInputStream reply)
            throws RemarshalException


handle_receive_exception

public void handle_receive_exception(ApplicationException ex,
                                     ReplyInputStream reply)
            throws RemarshalException


handle_receive_other

public void handle_receive_other(short reply_status)
            throws RemarshalException


handle_receive_reply

public void handle_receive_reply(ReplyInputStream reply)
            throws RemarshalException


handle_send_request

public void handle_send_request()
            throws RemarshalException