diff options
Diffstat (limited to 'cpp/test/Glacier2/router/Client.cpp')
-rw-r--r-- | cpp/test/Glacier2/router/Client.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/cpp/test/Glacier2/router/Client.cpp b/cpp/test/Glacier2/router/Client.cpp index 778e02ea4ea..afa70d92013 100644 --- a/cpp/test/Glacier2/router/Client.cpp +++ b/cpp/test/Glacier2/router/Client.cpp @@ -554,6 +554,19 @@ CallbackClient::run(int argc, char* argv[]) cout << "ok" << endl; } + { + cout << "pinging object with client endpoint... " << flush; + Ice::ObjectPrx baseC = communicator()->stringToProxy("collocated:" + getTestEndpoint(communicator(), 50)); + try + { + baseC->ice_ping(); + } + catch(const Ice::ObjectNotExistException&) + { + } + cout << "ok" << endl; + } + CallbackPrx twoway; { |