Results 1 to 5 of 5

Thread: ice_ids for proxies?

  1. #1
    Alexey Romanov is offline Registered User
    Name: Alexey Romanov
    Organization: Focus Media
    Project: Smart card controllers
    Join Date
    Apr 2010
    Posts
    23

    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?)

  2. #2
    mes's Avatar
    mes
    mes is offline ZeroC Staff
    Name: Mark Spruiell
    Organization: ZeroC, Inc.
    Project: Ice Developer
    Join Date
    Feb 2003
    Location
    California
    Posts
    1,445
    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

  3. #3
    Alexey Romanov is offline Registered User
    Name: Alexey Romanov
    Organization: Focus Media
    Project: Smart card controllers
    Join Date
    Apr 2010
    Posts
    23
    Thank you!

  4. #4
    Alexey Romanov is offline Registered User
    Name: Alexey Romanov
    Organization: Focus Media
    Project: Smart card controllers
    Join Date
    Apr 2010
    Posts
    23
    Another question: does ice_ids include IDs of facets?

  5. #5
    mes's Avatar
    mes
    mes is offline ZeroC Staff
    Name: Mark Spruiell
    Organization: ZeroC, Inc.
    Project: Ice Developer
    Join Date
    Feb 2003
    Location
    California
    Posts
    1,445
    Quote Originally Posted by Alexey Romanov View Post
    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

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. proxies and timeouts
    By n2503v in forum Help Center
    Replies: 4
    Last Post: 05-11-2009, 05:51 AM
  2. Timeouts for well known proxies
    By ctennis in forum Help Center
    Replies: 6
    Last Post: 06-16-2008, 09:18 PM
  3. Pointers and Proxies
    By MikeGerdes in forum Help Center
    Replies: 5
    Last Post: 02-07-2007, 10:56 AM
  4. Different kinds of proxies
    By mwilson in forum Help Center
    Replies: 5
    Last Post: 09-09-2005, 12:06 PM
  5. Objects and Proxies
    By ganzuoni in forum Help Center
    Replies: 1
    Last Post: 06-18-2003, 02:49 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •