diff options
author | Bernard Normier <bernard@zeroc.com> | 2004-08-13 15:45:39 +0000 |
---|---|---|
committer | Bernard Normier <bernard@zeroc.com> | 2004-08-13 15:45:39 +0000 |
commit | 592190ccac47494b23622cbb7e070a1717e472a0 (patch) | |
tree | 6e23202d09b38eee591fabfe876ac38b2a64666b /cpp/src/Ice/ObjectAdapterI.cpp | |
parent | more glacier 2 and reverse proxy work (diff) | |
download | ice-592190ccac47494b23622cbb7e070a1717e472a0.tar.bz2 ice-592190ccac47494b23622cbb7e070a1717e472a0.tar.xz ice-592190ccac47494b23622cbb7e070a1717e472a0.zip |
Ice.StdOut and Ice.StdErr
Diffstat (limited to 'cpp/src/Ice/ObjectAdapterI.cpp')
-rw-r--r-- | cpp/src/Ice/ObjectAdapterI.cpp | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/cpp/src/Ice/ObjectAdapterI.cpp b/cpp/src/Ice/ObjectAdapterI.cpp index 82a02f9ea1e..4b4f32be9d8 100644 --- a/cpp/src/Ice/ObjectAdapterI.cpp +++ b/cpp/src/Ice/ObjectAdapterI.cpp @@ -892,3 +892,21 @@ Ice::ObjectAdapterI::ProcessI::shutdown(const Current&) { _communicator->shutdown(); } + +void +Ice::ObjectAdapterI::ProcessI::writeMessage(const string& message, Int fd, const Current&) +{ + switch(fd) + { + case 1: + { + cout << message << endl; + break; + } + case 2: + { + cerr << message << endl; + break; + } + } +} |