summaryrefslogtreecommitdiff
path: root/cpp/test/Ice/operations/BatchOnewaysAMI.cpp
diff options
context:
space:
mode:
authorBernard Normier <bernard@zeroc.com>2016-06-09 22:32:22 -0400
committerBernard Normier <bernard@zeroc.com>2016-06-09 22:33:32 -0400
commit69e99559db0bd9cfa076b65360af21c0ab417a12 (patch)
tree8961f24ff3e5dbaefcbe65c9905f460ce8eb0f3c /cpp/test/Ice/operations/BatchOnewaysAMI.cpp
parentICE-7166 - Change php library name to IcePHP.so on OS X (diff)
downloadice-69e99559db0bd9cfa076b65360af21c0ab417a12.tar.bz2
ice-69e99559db0bd9cfa076b65360af21c0ab417a12.tar.xz
ice-69e99559db0bd9cfa076b65360af21c0ab417a12.zip
Renamed C++11 AMI/AMD suffix: _async to Async
Diffstat (limited to 'cpp/test/Ice/operations/BatchOnewaysAMI.cpp')
-rw-r--r--cpp/test/Ice/operations/BatchOnewaysAMI.cpp32
1 files changed, 16 insertions, 16 deletions
diff --git a/cpp/test/Ice/operations/BatchOnewaysAMI.cpp b/cpp/test/Ice/operations/BatchOnewaysAMI.cpp
index 04ef6354642..9adb2be5c7b 100644
--- a/cpp/test/Ice/operations/BatchOnewaysAMI.cpp
+++ b/cpp/test/Ice/operations/BatchOnewaysAMI.cpp
@@ -98,7 +98,7 @@ batchOnewaysAMI(const Test::MyClassPrxPtr& p)
#ifdef ICE_CPP11_MAPPING
promise<void> prom;
- batch->ice_flushBatchRequests_async(nullptr,
+ batch->ice_flushBatchRequestsAsync(nullptr,
[&](bool sentSynchronously)
{
test(sentSynchronously);
@@ -108,7 +108,7 @@ batchOnewaysAMI(const Test::MyClassPrxPtr& p)
for(int i = 0; i < 30; ++i)
{
- batch->opByteSOneway_async(bs1, nullptr, [](exception_ptr){ test(false); });
+ batch->opByteSOnewayAsync(bs1, nullptr, [](exception_ptr){ test(false); });
}
int count = 0;
@@ -124,34 +124,34 @@ batchOnewaysAMI(const Test::MyClassPrxPtr& p)
shared_ptr<Test::MyClassPrx> batch1 = Ice::uncheckedCast<Test::MyClassPrx>(p->ice_batchOneway());
shared_ptr<Test::MyClassPrx> batch2 = Ice::uncheckedCast<Test::MyClassPrx>(p->ice_batchOneway());
- batch1->ice_ping_async().get();
- batch2->ice_ping_async().get();
- batch1->ice_flushBatchRequests_async().get();
+ batch1->ice_pingAsync().get();
+ batch2->ice_pingAsync().get();
+ batch1->ice_flushBatchRequestsAsync().get();
batch1->ice_getConnection()->close(false);
- batch1->ice_ping_async().get();
- batch2->ice_ping_async().get();
+ batch1->ice_pingAsync().get();
+ batch2->ice_pingAsync().get();
batch1->ice_getConnection();
batch2->ice_getConnection();
- batch1->ice_ping_async().get();
+ batch1->ice_pingAsync().get();
batch1->ice_getConnection()->close(false);
- batch1->ice_ping_async().get();
- batch2->ice_ping_async().get();
+ batch1->ice_pingAsync().get();
+ batch2->ice_pingAsync().get();
}
Ice::Identity identity;
identity.name = "invalid";
auto batch3 = batch->ice_identity(identity);
- batch3->ice_ping_async();
- batch3->ice_flushBatchRequests_async().get();
+ batch3->ice_pingAsync();
+ batch3->ice_flushBatchRequestsAsync().get();
// Make sure that a bogus batch request doesn't cause troubles to other ones.
- batch3->ice_ping_async();
- batch->ice_ping_async();
- batch->ice_flushBatchRequests_async().get();
- batch->ice_ping_async();
+ batch3->ice_pingAsync();
+ batch->ice_pingAsync();
+ batch->ice_flushBatchRequestsAsync().get();
+ batch->ice_pingAsync();
#else
batch->end_ice_flushBatchRequests(batch->begin_ice_flushBatchRequests()); // Empty flush