Archived

This forum has been archived. Please start a new discussion on GitHub.

ice_ids for proxies?

In Java mapping, Ice.Object has two methods: ice_id and ice_ids. Ice.ObjectPrx also has ice_id, but ice_ids is not listed. Is there a reason for this? (It is available in IceLibrary.jar in version 3.3, which I currently use).

Also, does ice_ids necessarily return type IDs in some order (i.e. from the most specific type to "::Ice::Object" or vice versa?)

Comments

  • mes
    mes California
    Hi Alexey,

    Thanks for pointing out this omission in the Ice manual, we'll fix that.

    The order of the entries in the sequence returned by ice_ids is not specified, so your code should not make any assumptions.

    Regards,
    Mark
  • Thank you!
  • Another question: does ice_ids include IDs of facets?
  • mes
    mes California
    Another question: does ice_ids include IDs of facets?
    No. Each invocation of ice_ids is directed at a particular facet of the object (the proxy must already be configured for the desired target facet).

    Regards,
    Mark