summaryrefslogtreecommitdiff
path: root/cppe/demo/IceE/hello/Client.cpp
diff options
context:
space:
mode:
authorDwayne Boone <dwayne@zeroc.com>2005-08-02 15:38:20 +0000
committerDwayne Boone <dwayne@zeroc.com>2005-08-02 15:38:20 +0000
commit4b7aea220aec3fda69673927a1674f92d271ae65 (patch)
treecbd0e4f5a6144a9a528ff86e0139f4340eb7708f /cppe/demo/IceE/hello/Client.cpp
parentJava metadata (diff)
downloadice-4b7aea220aec3fda69673927a1674f92d271ae65.tar.bz2
ice-4b7aea220aec3fda69673927a1674f92d271ae65.tar.xz
ice-4b7aea220aec3fda69673927a1674f92d271ae65.zip
LocalExceptions -> LocalException
Diffstat (limited to 'cppe/demo/IceE/hello/Client.cpp')
-rw-r--r--cppe/demo/IceE/hello/Client.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/cppe/demo/IceE/hello/Client.cpp b/cppe/demo/IceE/hello/Client.cpp
index 991a8e9f54a..9144ce0ddb0 100644
--- a/cppe/demo/IceE/hello/Client.cpp
+++ b/cppe/demo/IceE/hello/Client.cpp
@@ -67,11 +67,13 @@ run(int argc, char* argv[], const Ice::CommunicatorPtr& communicator)
if(c == 't')
{
twoway->sayHello();
+ communicator->getLogger()->warning("a message");
+ communicator->getLogger()->error("a message");
}
else if(c == 'o')
{
oneway->sayHello();
- }
+ }
else if(c == 'O')
{
batchOneway->sayHello();
@@ -79,7 +81,7 @@ run(int argc, char* argv[], const Ice::CommunicatorPtr& communicator)
else if(c == 'f')
{
communicator->flushBatchRequests();
- }
+ }
else if(c == 'T')
{
if(timeout == -1)