Re: Setting Policies - Exception got
Frederico Faria <[email protected]> Fri, 2 Sep 2005 20:27:28 -0300 (ART)
| Newsgroups | gmane.comp.corba.orbacus |
|---|---|
| Message-ID | <[email protected]> |
Hi David, Thanks a lot for your attention. Now it works fine! My apologies but I had already made a "grep set_policy_overrides" in the source code but I had found the "_set_policy_overrides" in Object.h. I was trying to use this method since then. Regards, Frederico Faria --- David Weir <[email protected]> escreveu: > 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 > _______________________________________________________ Yahoo! Messenger com voz: PROMOÇÃO VOCÊ PODE LEVAR UMA VIAGEM NA CONVERSA. Participe! www.yahoo.com.br/messenger/promocao _______________________________________________ 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