diff options
author | Dwayne Boone <dwayne@zeroc.com> | 2007-01-17 18:11:11 +0000 |
---|---|---|
committer | Dwayne Boone <dwayne@zeroc.com> | 2007-01-17 18:11:11 +0000 |
commit | e124e693704faa56ecf32ce2a243d0c3fa3a5e6e (patch) | |
tree | 071dcaa6edc458f9371289976a4537880e5bb005 /cpp/demo/Ice/async/QueueI.h | |
parent | Changed async demo (diff) | |
download | ice-e124e693704faa56ecf32ce2a243d0c3fa3a5e6e.tar.bz2 ice-e124e693704faa56ecf32ce2a243d0c3fa3a5e6e.tar.xz ice-e124e693704faa56ecf32ce2a243d0c3fa3a5e6e.zip |
Changed demo
Diffstat (limited to 'cpp/demo/Ice/async/QueueI.h')
-rw-r--r-- | cpp/demo/Ice/async/QueueI.h | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/cpp/demo/Ice/async/QueueI.h b/cpp/demo/Ice/async/QueueI.h deleted file mode 100644 index 461b05fd560..00000000000 --- a/cpp/demo/Ice/async/QueueI.h +++ /dev/null @@ -1,38 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -#ifndef QUEUE_I_H -#define QUEUE_I_H - -#include <IceUtil/Mutex.h> -#include <Queue.h> -#include <list> - -class QueueI : virtual public Demo::Queue, public IceUtil::Mutex -{ -public: - - virtual void get_async(const Demo::AMD_Queue_getPtr&, const std::string&, const Ice::Current&); - virtual void add(const std::string&, const Ice::Current&); - virtual void cancel_async(const Demo::AMD_Queue_cancelPtr&, const std::vector<std::string>&, const Ice::Current&); - -private: - - struct Request - { - std::string id; - Demo::AMD_Queue_getPtr cb; - }; - - std::list<std::string> _messageQueue; - std::list<Request> _requestQueue; -}; - - -#endif |