diff options
author | Bernard Normier <bernard@zeroc.com> | 2016-06-09 22:32:22 -0400 |
---|---|---|
committer | Bernard Normier <bernard@zeroc.com> | 2016-06-09 22:33:32 -0400 |
commit | 69e99559db0bd9cfa076b65360af21c0ab417a12 (patch) | |
tree | 8961f24ff3e5dbaefcbe65c9905f460ce8eb0f3c /cpp/test/Ice/operations/OnewaysAMI.cpp | |
parent | ICE-7166 - Change php library name to IcePHP.so on OS X (diff) | |
download | ice-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/OnewaysAMI.cpp')
-rw-r--r-- | cpp/test/Ice/operations/OnewaysAMI.cpp | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/cpp/test/Ice/operations/OnewaysAMI.cpp b/cpp/test/Ice/operations/OnewaysAMI.cpp index 919a74b7887..4d322b4eef4 100644 --- a/cpp/test/Ice/operations/OnewaysAMI.cpp +++ b/cpp/test/Ice/operations/OnewaysAMI.cpp @@ -87,7 +87,7 @@ onewaysAMI(const Ice::CommunicatorPtr&, const Test::MyClassPrxPtr& proxy) { CallbackPtr cb = new Callback; #ifdef ICE_CPP11_MAPPING - p->ice_ping_async( + p->ice_pingAsync( nullptr, [](exception_ptr) { @@ -109,7 +109,7 @@ onewaysAMI(const Ice::CommunicatorPtr&, const Test::MyClassPrxPtr& proxy) try { #ifdef ICE_CPP11_MAPPING - p->ice_isA_async(Test::MyClass::ice_staticId(), + p->ice_isAAsync(Test::MyClass::ice_staticId(), [&](bool) { test(false); @@ -123,12 +123,12 @@ onewaysAMI(const Ice::CommunicatorPtr&, const Test::MyClassPrxPtr& proxy) { } } - + { try { #ifdef ICE_CPP11_MAPPING - p->ice_id_async( + p->ice_idAsync( [&](string) { test(false); @@ -142,12 +142,12 @@ onewaysAMI(const Ice::CommunicatorPtr&, const Test::MyClassPrxPtr& proxy) { } } - + { try { #ifdef ICE_CPP11_MAPPING - p->ice_ids_async( + p->ice_idsAsync( [&](vector<string>) { }); @@ -164,7 +164,7 @@ onewaysAMI(const Ice::CommunicatorPtr&, const Test::MyClassPrxPtr& proxy) { CallbackPtr cb = new Callback; #ifdef ICE_CPP11_MAPPING - p->opVoid_async( + p->opVoidAsync( nullptr, [](exception_ptr) { @@ -185,7 +185,7 @@ onewaysAMI(const Ice::CommunicatorPtr&, const Test::MyClassPrxPtr& proxy) { CallbackPtr cb = new Callback; #ifdef ICE_CPP11_MAPPING - p->opIdempotent_async( + p->opIdempotentAsync( nullptr, [](exception_ptr) { @@ -206,7 +206,7 @@ onewaysAMI(const Ice::CommunicatorPtr&, const Test::MyClassPrxPtr& proxy) { CallbackPtr cb = new Callback; #ifdef ICE_CPP11_MAPPING - p->opNonmutating_async( + p->opNonmutatingAsync( nullptr, [](exception_ptr) { @@ -228,7 +228,7 @@ onewaysAMI(const Ice::CommunicatorPtr&, const Test::MyClassPrxPtr& proxy) try { #ifdef ICE_CPP11_MAPPING - p->opByte_async(Ice::Byte(0xff), Ice::Byte(0x0f), + p->opByteAsync(Ice::Byte(0xff), Ice::Byte(0x0f), [](Ice::Byte, Ice::Byte) { test(false); @@ -245,7 +245,7 @@ onewaysAMI(const Ice::CommunicatorPtr&, const Test::MyClassPrxPtr& proxy) #ifdef ICE_CPP11_MAPPING { CallbackPtr cb = new Callback; - p->ice_ping_async(nullptr, + p->ice_pingAsync(nullptr, [=](exception_ptr e) { try @@ -259,7 +259,7 @@ onewaysAMI(const Ice::CommunicatorPtr&, const Test::MyClassPrxPtr& proxy) }, [=](bool sent) { - cb->sent(sent); + cb->sent(sent); }); cb->check(); @@ -267,29 +267,29 @@ onewaysAMI(const Ice::CommunicatorPtr&, const Test::MyClassPrxPtr& proxy) { try { - p->ice_isA_async(Test::MyClass::ice_staticId()); + p->ice_isAAsync(Test::MyClass::ice_staticId()); test(false); } catch(const IceUtil::IllegalArgumentException&) { } } - + { try { - p->ice_id_async(); + p->ice_idAsync(); test(false); } catch(const IceUtil::IllegalArgumentException&) { } } - + { try { - p->ice_ids_async(); + p->ice_idsAsync(); test(false); } catch(const IceUtil::IllegalArgumentException&) |