summaryrefslogtreecommitdiff
path: root/objective-c
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2017-05-03 10:39:58 +0200
committerJose <jose@zeroc.com>2017-05-03 10:39:58 +0200
commitac031c312bf536898422b9e700d7f7210f8ca77b (patch)
treef9ca89b05aa4754aac3b3df62bc721b10b1c4632 /objective-c
parentRemoved trailing whitespace from code generated by slice2cs (diff)
downloadice-ac031c312bf536898422b9e700d7f7210f8ca77b.tar.bz2
ice-ac031c312bf536898422b9e700d7f7210f8ca77b.tar.xz
ice-ac031c312bf536898422b9e700d7f7210f8ca77b.zip
Fix (ICE-7839) - C++ AMI thread behavior in C#, Java and Python
Diffstat (limited to 'objective-c')
-rw-r--r--objective-c/test/Ice/ami/AMITest.ice8
-rw-r--r--objective-c/test/Ice/ami/TestI.m5
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