diff options
Diffstat (limited to 'objective-c')
-rw-r--r-- | objective-c/test/Ice/ami/AMITest.ice | 8 | ||||
-rw-r--r-- | objective-c/test/Ice/ami/TestI.m | 5 |
2 files changed, 13 insertions, 0 deletions
diff --git a/objective-c/test/Ice/ami/AMITest.ice b/objective-c/test/Ice/ami/AMITest.ice index a3e98fad64b..ccad46cfd8a 100644 --- a/objective-c/test/Ice/ami/AMITest.ice +++ b/objective-c/test/Ice/ami/AMITest.ice @@ -10,6 +10,7 @@ #pragma once #include <Ice/BuiltinSequences.ice> +#include <Ice/Identity.ice> ["objc:prefix:TestAMI"] module Test @@ -27,6 +28,11 @@ enum CloseMode GracefullyWithWait }; +interface PingReply +{ + void reply(); +}; + interface TestIntf { void op(); @@ -45,6 +51,8 @@ interface TestIntf bool supportsAMD(); bool supportsFunctionalTests(); + + void pingBiDir(Ice::Identity id); }; interface TestIntfController diff --git a/objective-c/test/Ice/ami/TestI.m b/objective-c/test/Ice/ami/TestI.m index c8ae0595191..94ef9cbeb44 100644 --- a/objective-c/test/Ice/ami/TestI.m +++ b/objective-c/test/Ice/ami/TestI.m @@ -137,6 +137,11 @@ { return NO; } + +-(void) pingBiDir:(ICEIdentity*)id_ current:(ICECurrent *)current +{ + [TestAMIPingReplyPrx uncheckedCast:[current.con createProxy:id_] reply]; +} @end @implementation TestAMITestIntfControllerI |