summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/EventHandler.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/Ice/EventHandler.h')
-rw-r--r--cpp/src/Ice/EventHandler.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/cpp/src/Ice/EventHandler.h b/cpp/src/Ice/EventHandler.h
index 9cd6c64976f..487b57eafff 100644
--- a/cpp/src/Ice/EventHandler.h
+++ b/cpp/src/Ice/EventHandler.h
@@ -15,6 +15,8 @@
#include <Ice/InstanceF.h>
#include <Ice/ThreadPoolF.h>
#include <Ice/BasicStream.h>
+#include <Ice/Network.h>
+#include <Ice/SelectorF.h>
namespace Ice
{
@@ -72,7 +74,7 @@ public:
protected:
- EventHandler(const InstancePtr&);
+ EventHandler(const InstancePtr&, SOCKET = INVALID_SOCKET);
ICE_API virtual ~EventHandler();
const InstancePtr _instance;
@@ -82,7 +84,11 @@ protected:
// connection for connection validation only.
//
BasicStream _stream;
+ SOCKET _fd;
+ bool _serializing;
+ bool _registered;
friend class ThreadPool;
+ friend class Selector<EventHandler>;
};
class ThreadPoolWorkItem : virtual public IceUtil::Shared