Re: Setting Policies - Exception got
David Weir <[email protected]> Fri, 2 Sep 2005 17:06:46 -0230
| Newsgroups | gmane.comp.corba.orbacus |
|---|---|
| Organization | Object Oriented Concepts, Inc. - An IONA Company |
| Message-ID | <[email protected]> |
Hello Frederico, On Fri, Sep 02, 2005 at 11:59:31AM -0300, Frederico Faria wrote: > Hi David, > > I have used an old Orbacus version ( 4.0.5 ), so when > I try to use the method you suggested me I was not > able to compile the source code. There is only the > "_set_policy_overrides" in my ORBacus distribution. > > I have tried use the policies at client side orb. Is > it correct, ok ? > > Thank you, > Frederico Faria Please copy the OB-Users mailing list on all correspondence to ensure everyone benefits from this thread. My apologies for making the assumption that you were using the latest version of the product. :) If you take a look at the "ob/idl/OB/Policy.idl" file from the Orbacus 4.0.5 distribution, you will see that the Policy Manager interface actually does not contain a "_set_policy_overrides" method. You will have to use the methods present in this interface to set the policies as needed. I suspect that you actually need to use "add_policy_overrides" or "replace_all_policy_overrides". Please refer to the source code for more information. Cheers, Dave -- David Weir Team Orbacus - Your CORBA Source E-Mail: [email protected] WWW: http://www.orbacus.com _______________________________________________ OB-Users Mailing List - [email protected] http://mail.ooc.nf.ca/mailman/listinfo/ob-users Visit our support FAQ before you send a message. http://www.orbacus.com/faq/support.html