Home Help Center

Endpoint merge

ganzuoniganzuoni Member Guido AnzuoniOrganization: IndividualProject: No specific project ✭✭
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()



  • marcmarc FloridaAdministrators, ZeroC Staff Marc LaukienOrganization: ZeroC, Inc.Project: The Internet Communications Engine ZeroC Staff
    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.
Sign In or Register to comment.