Go Back   ZeroC Forums > Help Center

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 06-25-2003
ganzuoni ganzuoni is offline
Registered User
 
Name: Guido Anzuoni
Organization: Individual
Project: No specific project
 
Join Date: Jun 2003
Location: Italy
Posts: 46
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
Reply With Quote
  #2 (permalink)  
Old 06-25-2003
marc's Avatar
marc marc is offline
ZeroC Staff
 
Name: Marc Laukien
Organization: ZeroC, Inc.
Project: The Internet Communications Engine
 
Join Date: Feb 2003
Location: Florida
Posts: 1,772
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.
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Share endpoint between services in IceBox rspivak Help Center 2 04-14-2006 06:18 AM
How can I remove an Endpoint from an Adapter?and...? xiehua Help Center 3 02-23-2006 08:58 AM
SSL Proxy Endpoint and -s gsalazar Help Center 11 06-22-2005 01:57 PM
Endpoint format acbell Help Center 1 02-21-2005 10:44 AM
Availability of Client Endpoint information to the sever object implementation Harvinder Comments 11 08-02-2004 05:38 AM


All times are GMT -4. The time now is 07:33 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0
(c) 2008 ZeroC, Inc.