Beispiel #1
0
 public void opIntS_async(Test.AMD_MyClass_opIntS cb, Test.IntS s, Ice.Current current)
 {
     Test.IntS r = new Test.IntS();
     for (int i = 0; i < s.Count; ++i)
     {
         r.Add(-s[i]);
     }
     cb.ice_response(r);
 }
Beispiel #2
0
 public void opIntS_async(Test.AMD_MyClass_opIntS cb, int[] s, Ice.Current current)
 {
     int[] r = new int[s.Length];
     for (int i = 0; i < s.Length; ++i)
     {
         r[i] = -s[i];
     }
     cb.ice_response(r);
 }