Exemplo n.º 1
0
            private static Test.TestIntfPrx createTestIntfPrx(List <Test.RemoteObjectAdapterPrx> adapters)
            {
                List <Ice.Endpoint> endpoints = new List <Ice.Endpoint>();

                Test.TestIntfPrx obj = null;
                IEnumerator <Test.RemoteObjectAdapterPrx> p = adapters.GetEnumerator();

                while (p.MoveNext())
                {
                    obj = p.Current.getTestIntf();
                    foreach (Ice.Endpoint e in obj.ice_getEndpoints())
                    {
                        endpoints.Add(e);
                    }
                }
                return(Test.TestIntfPrxHelper.uncheckedCast(obj.ice_endpoints(endpoints.ToArray())));
            }