예제 #1
0
파일: TestAMDI.cs 프로젝트: externl/ice
 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");
     }
 }
예제 #2
0
파일: TestAMDI.cs 프로젝트: sk163/ice-1
 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");
     }
 }