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.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/cpp/src/Ice/EventHandler.h b/cpp/src/Ice/EventHandler.h
index 7b225b97696..99b9337b38f 100644
--- a/cpp/src/Ice/EventHandler.h
+++ b/cpp/src/Ice/EventHandler.h
@@ -36,6 +36,11 @@ class EventHandler : public ::IceUtil::Shared
public:
//
+ // Return true if the handler is for a datagram transport, false otherwise.
+ //
+ virtual bool datagram() const = 0;
+
+ //
// Return true if read() must be called before calling message().
//
virtual bool readable() const = 0;