Revert "Use a variable on the stack to not have a temporary in the call"
[ACE_TAO.git] / ACE / protocols / ace / HTBP / HTBP_Notifier.h
blob1670b23a61f1e55e358dda6885f35bef7654ad3f
1 // -*- C++ -*-
3 //=============================================================================
4 /**
5 * @file HTBP_Notifier.h
7 * @author Phil Mesnier, Priyanka Gontla
8 */
9 //=============================================================================
11 #ifndef ACE_HTBP_NOTIFIER_H
12 #define ACE_HTBP_NOTIFIER_H
13 #include /**/ "ace/pre.h"
15 #include "ace/Event_Handler.h"
17 #if !defined (ACE_LACKS_PRAGMA_ONCE)
18 # pragma once
19 #endif /* ACE_LACKS_PRAGMA_ONCE */
21 #include "HTBP_Export.h"
23 ACE_BEGIN_VERSIONED_NAMESPACE_DECL
25 namespace ACE
27 namespace HTBP
29 // Forward declarations.
30 class Channel;
32 class HTBP_Export Notifier : public ACE_Event_Handler
34 public:
35 Notifier (Channel *ch);
36 int handle_input(ACE_HANDLE );
37 int handle_output(ACE_HANDLE );
39 void unregister ();
41 ACE_HANDLE get_handle () const;
43 private:
44 Channel *channel_;
49 ACE_END_VERSIONED_NAMESPACE_DECL
51 #include /**/ "ace/post.h"
52 #endif /* ACE_HTBP_NOTIFIER_H */