blob: 1670b23a61f1e55e358dda6885f35bef7654ad3f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
// -*- C++ -*-
//=============================================================================
/**
* @file HTBP_Notifier.h
*
* @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 ();
ACE_HANDLE get_handle () const;
private:
Channel *channel_;
};
}
}
ACE_END_VERSIONED_NAMESPACE_DECL
#include /**/ "ace/post.h"
#endif /* ACE_HTBP_NOTIFIER_H */
|