Beispiel #1
0
 public void opShortIntLongSS_async(Test.AMD_MyClass_opShortIntLongSS cb, Test.ShortSS p1,
                                    Test.IntSS p2, Test.LongSS p3, Ice.Current current)
 {
     Test.ShortSS p4 = p1;
     Test.IntSS   p5 = new Test.IntSS();
     for (int i = 0; i < p2.Count; i++)
     {
         p5.Add(p2[p2.Count - (i + 1)]);
     }
     Test.LongSS p6 = new Test.LongSS();
     p6.AddRange(p3);
     p6.AddRange(p3);
     cb.ice_response(p3, p4, p5, p6);
 }
Beispiel #2
0
    public void opShortIntLongSS_async(Test.AMD_MyClass_opShortIntLongSS cb, short[][] p1,
                                       int[][] p2, long[][] p3, Ice.Current current)
    {
        short[][] p4 = p1;

        int[][] p5 = new int[p2.Length][];
        for (int i = 0; i < p2.Length; i++)
        {
            p5[i] = p2[p2.Length - (i + 1)];
        }

        long[][] p6 = new long[p3.Length + p3.Length][];
        Array.Copy(p3, p6, p3.Length);
        Array.Copy(p3, 0, p6, p3.Length, p3.Length);
        cb.ice_response(p3, p4, p5, p6);
    }