summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/sys/Poller.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/qpid/sys/Poller.h')
-rw-r--r--cpp/src/qpid/sys/Poller.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/cpp/src/qpid/sys/Poller.h b/cpp/src/qpid/sys/Poller.h
index 843295e268..a7a12fdbe8 100644
--- a/cpp/src/qpid/sys/Poller.h
+++ b/cpp/src/qpid/sys/Poller.h
@@ -45,6 +45,12 @@ class PollerHandle {
public:
PollerHandle(const Socket& s);
+
+ // Usual way to delete (will defer deletion until we
+ // can't be returned from a Poller::wait any more)
+ void deferDelete();
+
+ // Class clients shouldn't ever use this
virtual ~PollerHandle();
const Socket& getSocket() const {return socket;}