summaryrefslogtreecommitdiff
path: root/ACE/protocols/ace/HTBP/HTBP_Notifier.h
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/protocols/ace/HTBP/HTBP_Notifier.h')
-rw-r--r--ACE/protocols/ace/HTBP/HTBP_Notifier.h54
1 files changed, 54 insertions, 0 deletions
diff --git a/ACE/protocols/ace/HTBP/HTBP_Notifier.h b/ACE/protocols/ace/HTBP/HTBP_Notifier.h
new file mode 100644
index 00000000000..0c9dcffa2ed
--- /dev/null
+++ b/ACE/protocols/ace/HTBP/HTBP_Notifier.h
@@ -0,0 +1,54 @@
+// -*- C++ -*-
+
+//=============================================================================
+/**
+ * @file HTBP_Notifier.h
+ *
+ * $Id$
+ *
+ * @author Phil Mesnier, Priyanka Gontla
+ */
+//=============================================================================
+
+#ifndef ACE_HTBP_NOTIFIER_H
+#define ACE_HTBP_NOTIFIER_H
+#include /**/ "ace/pre.h"
+
+#include "ace/Event_Handler.h"
+
+#if !defined (ACE_LACKS_PRAGMA_ONCE)
+# pragma once
+#endif /* ACE_LACKS_PRAGMA_ONCE */
+
+#include "HTBP_Export.h"
+
+ACE_BEGIN_VERSIONED_NAMESPACE_DECL
+
+namespace ACE
+{
+ namespace HTBP
+ {
+ // Forward declarations.
+ class Channel;
+
+ class HTBP_Export Notifier : public ACE_Event_Handler
+ {
+ public:
+ Notifier (Channel *ch);
+ int handle_input(ACE_HANDLE );
+ int handle_output(ACE_HANDLE );
+
+ void unregister (void);
+
+ ACE_HANDLE get_handle (void) const;
+
+ private:
+ Channel *channel_;
+ };
+ }
+}
+
+ACE_END_VERSIONED_NAMESPACE_DECL
+
+#include /**/ "ace/post.h"
+#endif /* ACE_HTBP_NOTIFIER_H */