org.objectweb.jonas.rmifilters
Class JonasSender

java.lang.Object
  |
  +--org.objectweb.jonas.rmifilters.JonasSender
All Implemented Interfaces:
org.omg.CosTSPortability.Sender

public class JonasSender
extends java.lang.Object
implements org.omg.CosTSPortability.Sender

JonasSender used in case of DAVID orb only. - based on CORBA interfaces. - contains the glue to map CORBA contexts to JONAS contexts.

Author:
Philippe Durieux

Constructor Summary
JonasSender()
           
 
Method Summary
 void received_reply(int reqId, org.omg.CosTransactions.PropagationContext pctx, org.omg.CORBA.Environment env)
          Sender is receiving a reply with an attached propagation context.
 org.omg.CosTransactions.PropagationContext sending_request(int reqId)
          Sender is sending a request.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JonasSender

public JonasSender()
Method Detail

sending_request

public org.omg.CosTransactions.PropagationContext sending_request(int reqId)
Sender is sending a request. Return a CORBA propagation context to the Orb.
Specified by:
sending_request in interface org.omg.CosTSPortability.Sender

received_reply

public void received_reply(int reqId,
                           org.omg.CosTransactions.PropagationContext pctx,
                           org.omg.CORBA.Environment env)
Sender is receiving a reply with an attached propagation context. WARNING: In case of Jeremie orb, we are not yet in the thread that made the send.
Specified by:
received_reply in interface org.omg.CosTSPortability.Sender