summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/EventHandler.h
diff options
context:
space:
mode:
authorMarc Laukien <marc@zeroc.com>2002-04-18 19:52:58 +0000
committerMarc Laukien <marc@zeroc.com>2002-04-18 19:52:58 +0000
commit9d5a45489ae73aba5ce15767037df8377aeab91b (patch)
tree55e63caf4fcc9c5c46eb700618cfb7d31a902053 /cpp/src/Ice/EventHandler.h
parentminor update. (diff)
downloadice-9d5a45489ae73aba5ce15767037df8377aeab91b.tar.bz2
ice-9d5a45489ae73aba5ce15767037df8377aeab91b.tar.xz
ice-9d5a45489ae73aba5ce15767037df8377aeab91b.zip
massive thread pool changes
Diffstat (limited to 'cpp/src/Ice/EventHandler.h')
-rw-r--r--cpp/src/Ice/EventHandler.h12
1 files changed, 3 insertions, 9 deletions
diff --git a/cpp/src/Ice/EventHandler.h b/cpp/src/Ice/EventHandler.h
index 4d5434b579c..7951b43ea2c 100644
--- a/cpp/src/Ice/EventHandler.h
+++ b/cpp/src/Ice/EventHandler.h
@@ -32,12 +32,6 @@ class EventHandler : public ::IceUtil::Shared
public:
//
- // Returns true if the event handler belongs to the server-side of
- // an application. Client-side otherwise.
- //
- virtual bool server() const = 0;
-
- //
// Return true if read() must be called before calling message().
//
virtual bool readable() const = 0;
@@ -51,14 +45,14 @@ public:
//
// A complete message has been received.
//
- virtual void message(BasicStream&) = 0;
+ virtual void message(BasicStream&, const ThreadPoolPtr&) = 0;
//
// Will be called if the event handler is finally
// unregistered. (Calling unregister() does not unregister
// immediately.)
//
- virtual void finished() = 0;
+ virtual void finished(const ThreadPoolPtr&) = 0;
//
// Propagate an exception to the event handler.
@@ -70,7 +64,7 @@ public:
// handler cannot be destroyed because it is in use, or true
// otherwise.
//
-// virtual bool tryDestroy() = 0;
+// virtual bool tryDestroy(const ThreadPoolPtr&) = 0;
protected: