org.openorb.ots.ORB

Class TransactionalClientInterceptor

public class TransactionalClientInterceptor extends LocalObject implements ClientRequestInterceptor, LogEnabled

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

Author: Marina Daniel

Constructor Summary
TransactionalClientInterceptor(ORBInitInfo info, int slot)
Constructor which initializes the ORBInitInfo and the Sender reference
Method Summary
voiddestroy()
Destroy the interceptor.
voidenableLogging(Logger logger)
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

TransactionalClientInterceptor

public TransactionalClientInterceptor(ORBInitInfo info, int slot)
Constructor which initializes the ORBInitInfo and the Sender reference

Method Detail

destroy

public void destroy()
Destroy the interceptor.

enableLogging

public void enableLogging(Logger logger)

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