4 #ifndef _EVENT_ANALYZER_H
5 #define _EVENT_ANALYZER_H
7 #include "ace/Stream.h"
9 #if !defined (ACE_LACKS_PRAGMA_ONCE)
11 #endif /* ACE_LACKS_PRAGMA_ONCE */
13 #include "ace/Module.h"
16 #if defined (ACE_HAS_THREADS)
18 class Event_Analyzer
: public ACE_Task
<ACE_MT_SYNCH
>
21 virtual int open (void *a
= 0);
22 virtual int close (u_long flags
= 0);
23 virtual int put (ACE_Message_Block
*msg
, ACE_Time_Value
* = 0);
25 // Dynamic linking hooks.
26 virtual int init (int argc
, ACE_TCHAR
*argv
[]);
28 virtual int info (ACE_TCHAR
**info_string
, size_t length
) const;
31 virtual int control (ACE_Message_Block
*);
34 #endif /* ACE_HAS_THREADS */
35 #endif /* _EVENT_ANALYZER_H */