diff options
author | Dwayne Boone <dwayne@zeroc.com> | 2009-11-30 11:00:17 -0330 |
---|---|---|
committer | Dwayne Boone <dwayne@zeroc.com> | 2009-11-30 11:00:17 -0330 |
commit | 60276ae3101dfc1fa1bb7b7ee2d23cb474e9666d (patch) | |
tree | 29b7541fed602821c8d5ea7ec418eba18c423a24 /cpp/demo/Glacier2/chat/ChatSessionI.cpp | |
parent | 4387 - Commited IceGrid/Scanner.cpp doesn't compilce with VC9 (diff) | |
download | ice-60276ae3101dfc1fa1bb7b7ee2d23cb474e9666d.tar.bz2 ice-60276ae3101dfc1fa1bb7b7ee2d23cb474e9666d.tar.xz ice-60276ae3101dfc1fa1bb7b7ee2d23cb474e9666d.zip |
Changed demos to use new AMI API
Diffstat (limited to 'cpp/demo/Glacier2/chat/ChatSessionI.cpp')
-rw-r--r-- | cpp/demo/Glacier2/chat/ChatSessionI.cpp | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/cpp/demo/Glacier2/chat/ChatSessionI.cpp b/cpp/demo/Glacier2/chat/ChatSessionI.cpp index d7447645209..a764c185bda 100644 --- a/cpp/demo/Glacier2/chat/ChatSessionI.cpp +++ b/cpp/demo/Glacier2/chat/ChatSessionI.cpp @@ -98,19 +98,6 @@ public: } }; -class AMI_ChatCallback_messageI : public Demo::AMI_ChatCallback_message -{ -public: - - virtual void ice_response() - { - } - - virtual void ice_exception(const Ice::Exception&) - { - } -}; - } ChatRoom::ChatRoom() @@ -170,7 +157,7 @@ ChatRoom::message(const string& data) const Lock sync(*this); for(list<MemberInfo>::const_iterator p = _members.begin(); p != _members.end(); ++p) { - (*p).callback->message_async(new AMI_ChatCallback_messageI(), data); + (*p).callback->begin_message(data); } } |