[Ace-users] [tao-users] How to set different message timeout policies fordifferent calls
Keith.Nicewarner at SpaceDev.com
Wed Feb 13 14:14:03 CST 2008
Thanks everyone for the helpful info!
Can I simply call _set_policy_overrides() before each method call or
would that be a Bad Idea?
> -----Original Message-----
> From: tao-users-bounces at cse.wustl.edu [mailto:tao-users-
> bounces at cse.wustl.edu] On Behalf Of Chris Cleeland
> Sent: Wednesday, February 13, 2008 12:05 PM
> To: TAO Users
> Subject: Re: [tao-users] How to set different message timeout policies
> fordifferent calls
> Adam and Abdullah both answered your general question quite
> completely, but neither addressed this specific question.
> On Feb 13, 2008, at 1:36 PM, Keith Nicewarner wrote:
> > Or is there a better way to specify a per-method timeout value?
> You cannot have timeout values specific to different methods. The
> finest granularity for specifying a timeout is down to the object
> reference level.
> If you need different timeout values for different methods to the same
> CORBA Object, you'll need to use _set_policy_overrides() to obtain
> distinct references to that CORBA Object for each distinct timeout,
> and be sure that an invocation that needs to timeout is made through
> the correct reference.
> Chris Cleeland, Principal Software Engineer
> http://www.theaceorb.com AND http://www.ociweb.com
> tao-users mailing list
> tao-users at mail.cse.wustl.edu
More information about the Ace-users