Exemple #1
0
 public override void intfUserException_async(AMD_TestIntf_intfUserException cb, bool @throw, Ice.Current current)
 {
     if(@throw)
     {
         cb.ice_exception(new Test.TestIntfUserException());
     }
     else
     {
         //
         // Return a value so we can be sure that the stream position
         // is reset correctly iuf finished throws.
         //
         cb.ice_response("Hello");
     }
 }
Exemple #2
0
 public override void intfUserException_async(AMD_TestIntf_intfUserException cb, bool @throw, Ice.Current current)
 {
     if (@throw)
     {
         cb.ice_exception(new Test.TestIntfUserException());
     }
     else
     {
         //
         // Return a value so we can be sure that the stream position
         // is reset correctly iuf finished throws.
         //
         cb.ice_response("Hello");
     }
 }