Results 1 to 2 of 2

Thread: Endpoint merge

  1. #1
    ganzuoni is offline Registered User
    Name: Guido Anzuoni
    Organization: Individual
    Project: No specific project
    Join Date
    Jun 2003
    Location
    Italy
    Posts
    49

    Endpoint merge

    Hello,
    is it possible to have an equivalent of iormerge to build an
    Ice.ObjectPrx from multiple Ice.ObjectPrx ?
    Should I proxyToString(prx) each source, strip the id away, take
    the endpoints and build the final string ?
    Maybe some helper methods in Ice.Util would be nice,
    something like
    ObjectProxyInfo getObjectProxyInfo(Ice.ObjectPrx prx);
    Ice.ObjectPrx createProxy(Ice.Identity id, String[]endpoints);

    and ObjectProxyInfo provided with:
    Ice.Identity ObjectProxyInfo.getIdentity()
    String []ObjectProxyInfo.getEndpoints()

    Regards,
    Guido

  2. #2
    marc's Avatar
    marc is offline ZeroC Staff
    Name: Marc Laukien
    Organization: ZeroC, Inc.
    Project: The Internet Communications Engine
    Join Date
    Feb 2003
    Location
    Florida
    Posts
    1,860
    I think at present, converting proxies to strings, then merging the endpoints in that strings, and converting the resulting string back to a proxy is the best method.

    But I agree with you, we should add some helper function for merging endpoints of proxies with the same identity. We put this on our todo list.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Endpoint Specifications
    By steveo06360 in forum Help Center
    Replies: 10
    Last Post: 03-04-2009, 12:29 PM
  2. Endpoint format
    By acbell in forum Help Center
    Replies: 3
    Last Post: 03-03-2009, 04:27 PM
  3. Endpoint Selection After Timeout
    By kalaxy in forum Help Center
    Replies: 2
    Last Post: 08-01-2008, 03:53 PM
  4. Using ICE without an endpoint
    By jgaa in forum Help Center
    Replies: 1
    Last Post: 07-05-2007, 03:06 AM
  5. SSL Proxy Endpoint and -s
    By gsalazar in forum Help Center
    Replies: 11
    Last Post: 06-22-2005, 01:57 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
  •