blob: 193d7038cd84623ee7744db9b73f2996a12e9195 (
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
53
|
// $Id$
// ============================================================================
//
// = DESCRIPTION
// Implement an adapter between the ACE Reactor and the
// ACE_RMCast_UDP_Receiver
//
// = AUTHOR
// Carlos O'Ryan <coryan@uci.edu>
//
// ============================================================================
#ifndef ACE_RMCAST_UDP_EVENT_HANDLER_H
#define ACE_RMCAST_UDP_EVENT_HANDLER_H
#include "ace/pre.h"
#include "RMCast_Export.h"
#include "ace/Event_Handler.h"
#if !defined (ACE_LACKS_PRAGMA_ONCE)
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */
class ACE_RMCast_UDP_Receiver;
class ACE_INET_Addr;
class ACE_RMCast_Export ACE_RMCast_UDP_Event_Handler : public ACE_Event_Handler
{
public:
ACE_RMCast_UDP_Event_Handler (ACE_RMCast_UDP_Receiver *receiver);
// Constructor
~ACE_RMCast_UDP_Event_Handler (void);
// Destructor
// = The Event_Handler methods
virtual ACE_HANDLE get_handle (void) const;
virtual int handle_input (ACE_HANDLE fd = ACE_INVALID_HANDLE);
virtual int handle_timeout (const ACE_Time_Value ¤t_time,
const void *act = 0);
private:
ACE_RMCast_UDP_Receiver *receiver_;
// The sender
};
#if defined (__ACE_INLINE__)
#include "RMCast_UDP_Event_Handler.i"
#endif /* __ACE_INLINE__ */
#include "ace/post.h"
#endif /* ACE_RMCAST_UDP_EVENT_HANDLER_H */
|