tyrex.corba
Class ClientInterceptor

tyrex.corba.ClientInterceptor

public class ClientInterceptor

The Client side interceptor is used to transfer the propagation context in transaction requests

Author:
Marina Daniel <mdaniel@intalio.com>

Constructor Summary
ClientInterceptor(org.omg.PortableInterceptor.ORBInitInfo info, int t_slot)
          Constructor which initializes the ORBInitInfo and the Sender reference
 
Method Summary
 void destroy()
          Called to destroy the interceptor
 void fatal(java.lang.String from, java.lang.String msg)
          Displays a trace and throw a INTERNAL exception...
 java.lang.String name()
          return the name of the Transactional Client Interceptor
 void receive_exception(org.omg.PortableInterceptor.ClientRequestInfo ri)
          Called when the client receive an exception from the server
 void receive_other(org.omg.PortableInterceptor.ClientRequestInfo ri)
          Called when the client receive a message from the server which is not a reply and not an exception
 void receive_reply(org.omg.PortableInterceptor.ClientRequestInfo ri)
          Called when the client receive a reply from the server get the transaction propagation context of the service context list, pass it to the sender which will set the propagation context to the current object
 void send_poll(org.omg.PortableInterceptor.ClientRequestInfo ri)
          used to query information during a Time Independent Invocation polling get reply sequence ??
 void send_request(org.omg.PortableInterceptor.ClientRequestInfo ri)
          Adds a transaction propagation context to the service context list, to be passed to the server
 

Constructor Detail

ClientInterceptor

public ClientInterceptor(org.omg.PortableInterceptor.ORBInitInfo info,
                         int t_slot)
Constructor which initializes the ORBInitInfo and the Sender reference
Method Detail

send_request

public void send_request(org.omg.PortableInterceptor.ClientRequestInfo ri)
                  throws org.omg.PortableInterceptor.ForwardRequest
Adds a transaction propagation context to the service context list, to be passed to the server
Parameters:
ri - the client request

send_poll

public void send_poll(org.omg.PortableInterceptor.ClientRequestInfo ri)
used to query information during a Time Independent Invocation polling get reply sequence ??

receive_reply

public void receive_reply(org.omg.PortableInterceptor.ClientRequestInfo ri)
Called when the client receive a reply from the server get the transaction propagation context of the service context list, pass it to the sender which will set the propagation context to the current object

receive_exception

public void receive_exception(org.omg.PortableInterceptor.ClientRequestInfo ri)
                       throws org.omg.PortableInterceptor.ForwardRequest
Called when the client receive an exception from the server

receive_other

public void receive_other(org.omg.PortableInterceptor.ClientRequestInfo ri)
                   throws org.omg.PortableInterceptor.ForwardRequest
Called when the client receive a message from the server which is not a reply and not an exception

name

public java.lang.String name()
return the name of the Transactional Client Interceptor

destroy

public void destroy()
Called to destroy the interceptor

fatal

public void fatal(java.lang.String from,
                  java.lang.String msg)
Displays a trace and throw a INTERNAL exception...


Intalio Inc. (C) 1999-2001. All rights reserved.