tyrex.corba

Class ClientInterceptor

public class ClientInterceptor extends LocalObject implements ClientRequestInterceptor

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

Author: Marina Daniel <mdaniel@intalio.com>

Constructor Summary
ClientInterceptor(ORBInitInfo info, int t_slot)
Constructor which initializes the ORBInitInfo and the Sender reference
Method Summary
voiddestroy()
Called to destroy the interceptor
voidfatal(String from, String msg)
Displays a trace and throw a INTERNAL exception...
Stringname()
return the name of the Transactional Client Interceptor
voidreceive_exception(ClientRequestInfo ri)
Called when the client receive an exception from the server
voidreceive_other(ClientRequestInfo ri)
Called when the client receive a message from the server which is not a reply and not an exception
voidreceive_reply(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
voidsend_poll(ClientRequestInfo ri)
used to query information during a Time Independent Invocation polling get reply sequence ?
voidsend_request(ClientRequestInfo ri)
Adds a transaction propagation context to the service context list, to be passed to the server

Constructor Detail

ClientInterceptor

public ClientInterceptor(ORBInitInfo info, int t_slot)
Constructor which initializes the ORBInitInfo and the Sender reference

Method Detail

destroy

public void destroy()
Called to destroy the interceptor

fatal

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

name

public String name()
return the name of the Transactional Client Interceptor

receive_exception

public void receive_exception(ClientRequestInfo ri)
Called when the client receive an exception from the server

receive_other

public void receive_other(ClientRequestInfo ri)
Called when the client receive a message from the server which is not a reply and not an exception

receive_reply

public void receive_reply(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

send_poll

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

send_request

public void send_request(ClientRequestInfo ri)
Adds a transaction propagation context to the service context list, to be passed to the server

Parameters: ri the client request

Original code is Copyright (c) 1999-2001, Intalio, Inc. All Rights Reserved. Contributions by MetaBoss team are Copyright (c) 2003-2005, Softaris Pty. Ltd. All Rights Reserved.