[jacorb-developer] Setting policy for a particular thread
Chun Tat David Chu
beyonddc.storage at gmail.com
Mon Aug 13 18:04:31 CEST 2012
Hey Alka,
You should download a copy of the JacORB Programming Guide from
http://www.jacorb.org/documentation.html
>From reading the documentation, JacORB only support setting QoS on object
and scope level.
Here's copied and pasted from section 16 of JacORB programming guide.
>> Policies can be set at different scopes: per object, per thread, or per
ORB. The current JacORB implementation only supports object and ORB scopes.
Good luck,
David
On Fri, Aug 10, 2012 at 10:14 AM, Alka Nand <alka.nand at gmail.com> wrote:
> Hi,
>
> I would like to have a different RELATIVE_RT_TIMEOUT_POLICY for the ORB and
> a different one for a particular thread. In Orbix I was doing this
> by setting one RelativeRoundtripTimeoutPolicyoverride on the
> ORBPolicyManager and a different one on the "PolicyCurrent". Performing
> a resolve_initial_references ("ORBPolicyManager") returns theORB’s
> PolicyManager. while resolve_initial_references ("PolicyCurrent") returns a
> thread’s PolicyCurrent. Only client-side policies can be applied to a
> thread.
>
> In JACORB using "PolicyCurrent" returns an InvalidName exception. Is there
> a way I can do the same thing in JACORB?
>
> Thanks in advance
> alka nand
> Tellabs
>
> alka
> _______________________________________________
> jacorb-developer maillist -
> jacorb-developer at lists.spline.inf.fu-berlin.de
> https://lists.spline.inf.fu-berlin.de/mailman/listinfo/jacorb-developer
>
More information about the jacorb-developer
mailing list