summaryrefslogtreecommitdiff
path: root/cpp/demo/Glacier2/callback/CallbackI.cpp
diff options
context:
space:
mode:
authorBernard Normier <bernard@zeroc.com>2007-02-01 17:09:49 +0000
committerBernard Normier <bernard@zeroc.com>2007-02-01 17:09:49 +0000
commitabada90e3f84dc703b8ddc9efcbed8a946fadead (patch)
tree2c6f9dccd510ea97cb927a7bd635422efaae547a /cpp/demo/Glacier2/callback/CallbackI.cpp
parentremoving trace message (diff)
downloadice-abada90e3f84dc703b8ddc9efcbed8a946fadead.tar.bz2
ice-abada90e3f84dc703b8ddc9efcbed8a946fadead.tar.xz
ice-abada90e3f84dc703b8ddc9efcbed8a946fadead.zip
Expanded tabs into spaces
Diffstat (limited to 'cpp/demo/Glacier2/callback/CallbackI.cpp')
-rw-r--r--cpp/demo/Glacier2/callback/CallbackI.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/cpp/demo/Glacier2/callback/CallbackI.cpp b/cpp/demo/Glacier2/callback/CallbackI.cpp
index fb9ff794970..24389d5541a 100644
--- a/cpp/demo/Glacier2/callback/CallbackI.cpp
+++ b/cpp/demo/Glacier2/callback/CallbackI.cpp
@@ -18,14 +18,14 @@ CallbackReceiverI::callback(const Ice::Current&)
{
#ifdef __xlC__
- //
- // The xlC compiler synchronizes cin and cout; to see the messages
- // while accepting input through cin, we have to print the messages
- // with printf
- //
+ //
+ // The xlC compiler synchronizes cin and cout; to see the messages
+ // while accepting input through cin, we have to print the messages
+ // with printf
+ //
- printf("received callback\n");
- fflush(0);
+ printf("received callback\n");
+ fflush(0);
#else
cout << "received callback" << endl;
#endif
@@ -37,11 +37,11 @@ CallbackI::initiateCallback(const CallbackReceiverPrx& proxy, const Ice::Current
cout << "initiating callback to: " << current.adapter->getCommunicator()->proxyToString(proxy) << endl;
try
{
- proxy->callback(current.ctx);
+ proxy->callback(current.ctx);
}
catch(const Ice::Exception& ex)
{
- cout << ex << endl;
+ cout << ex << endl;
}
}
@@ -51,10 +51,10 @@ CallbackI::shutdown(const Ice::Current& c)
cout << "shutting down..." << endl;
try
{
- c.adapter->getCommunicator()->shutdown();
+ c.adapter->getCommunicator()->shutdown();
}
catch(const Ice::Exception& ex)
{
- cout << ex << endl;
+ cout << ex << endl;
}
}