Discussion:
CosTransactions
l***@marzu.org
2012-10-05 14:09:37 UTC
Permalink
Hello,

In order to go on with a possible CosTransactions and an OTS-Aware
orb, could you give me some hints
about he following sentences and how to achieve them with Mico:


------------------------------------------------------------------------
Table 2-7 InvocationPolicy checks required on the client invocation
path
Invocation Mode InvocationPolicy Required Action
Synchronous EITHER ok; check OTSPolicy
SHARED ok; check OTSPolicy
UNSHARED raise TRANSACTION_MODE
Asynchronous EITHER ok; check OTSPolicy
SHARED raise TRANSACTION_MODE
UNSHARED ok; check OTSPolicy

An invocation is considered synchronous if it uses a standard client
stub,
the DII, or AMI with an effective routing policy of ROUTE_NONE. An
invocation is considered asynchronous if it uses the features of CORBA
messaging to invoke on a router rather than the target object.
------------------------------------------------------------------------

The question is really:
How may I know if I'm usig Client Stub, DII, AMI, or if I call a
router
rather than the target object.

And this, inside a Client Interceptor ?
Could you give some hints please ?

Thank you very much
Laurent Marzullo

Loading...