diff options
author | Benoit Foucher <benoit@zeroc.com> | 2014-06-27 10:31:41 +0200 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2014-06-27 10:31:41 +0200 |
commit | a4f93259dc3494d98addf38e69b87eb557d432b3 (patch) | |
tree | d2b78bb5cea24e33dc1b46be22dba6167e96c9ed /cpp/demo/Ice/latency/Client.cpp | |
parent | Fix for ICE-5515 (ice_staticId on proxies) in Java, C#, Python, Ruby and PHP ... (diff) | |
download | ice-a4f93259dc3494d98addf38e69b87eb557d432b3.tar.bz2 ice-a4f93259dc3494d98addf38e69b87eb557d432b3.tar.xz ice-a4f93259dc3494d98addf38e69b87eb557d432b3.zip |
Better collocation optimization, fix for ICE-5489, ICE-5484
Diffstat (limited to 'cpp/demo/Ice/latency/Client.cpp')
-rw-r--r-- | cpp/demo/Ice/latency/Client.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/cpp/demo/Ice/latency/Client.cpp b/cpp/demo/Ice/latency/Client.cpp index e0139749c6e..65f9a395837 100644 --- a/cpp/demo/Ice/latency/Client.cpp +++ b/cpp/demo/Ice/latency/Client.cpp @@ -36,6 +36,11 @@ LatencyClient::run(int argc, char* argv[]) return EXIT_FAILURE; } + Ice::ObjectAdapterPtr adapter = communicator()->createObjectAdapter("Latency"); + Ice::ObjectPtr object = new Ping; + adapter->add(object, communicator()->stringToIdentity("ping")); + adapter->activate(); + PingPrx ping = PingPrx::checkedCast(communicator()->propertyToProxy("Ping.Proxy")); if(!ping) { |