Ejemplo n.º 1
0
 public void opFloatDoubleS_async(Test.AMD_MyClass_opFloatDoubleS cb, Test.FloatS p1, Test.DoubleS p2,
                                  Ice.Current current)
 {
     Test.FloatS  p3 = p1;
     Test.DoubleS p4 = new Test.DoubleS();
     for (int i = 0; i < p2.Count; i++)
     {
         p4.Add(p2[p2.Count - (i + 1)]);
     }
     Test.DoubleS r = new Test.DoubleS();
     r.AddRange(p2);
     for (int i = 0; i < p1.Count; i++)
     {
         r.Add(p1[i]);
     }
     cb.ice_response(r, p3, p4);
 }
Ejemplo n.º 2
0
 public Test.DoubleS opFloatDoubleS(Test.FloatS p1, Test.DoubleS p2,
                                    out Test.FloatS p3, out Test.DoubleS p4,
                                    Ice.Current current)
 {
     p3 = p1;
     p4 = new Test.DoubleS();
     for (int i = 0; i < p2.Count; i++)
     {
         p4.Add(p2[p2.Count - (i + 1)]);
     }
     Test.DoubleS r = new Test.DoubleS();
     r.AddRange(p2);
     for (int i = 0; i < p1.Count; i++)
     {
         r.Add(p1[i]);
     }
     return(r);
 }
Ejemplo n.º 3
0
 public override Test.DoubleS opFloatDoubleS(Test.FloatS p1, Test.DoubleS p2,
                                             out Test.FloatS p3, out Test.DoubleS p4,
                                             Ice.Current current)
 {
     p3 = p1;
     p4 = new Test.DoubleS();
     for(int i = 0; i < p2.Count; i++)
     {
         p4.Add(p2[p2.Count - (i + 1)]);
     }
     Test.DoubleS r = new Test.DoubleS();
     r.AddRange(p2);
     for(int i = 0; i < p1.Count; i++)
     {
         r.Add(p1[i]);
     }
     return r;
 }
Ejemplo n.º 4
0
 public void opFloatDoubleS_async(Test.AMD_MyClass_opFloatDoubleS cb, Test.FloatS p1, Test.DoubleS p2,
                                  Ice.Current current)
 {
     Test.FloatS p3 = p1;
     Test.DoubleS p4 = new Test.DoubleS();
     for(int i = 0; i < p2.Count; i++)
     {
         p4.Add(p2[p2.Count - (i + 1)]);
     }
     Test.DoubleS r = new Test.DoubleS();
     r.AddRange(p2);
     for(int i = 0; i < p1.Count; i++)
     {
         r.Add(p1[i]);
     }
     cb.ice_response(r, p3, p4);
 }