6 #include "ace/Module.h"
10 // Listing 01 code/ch18
11 class CommandTask
: public ACE_Task
<ACE_MT_SYNCH
>
14 typedef ACE_Task
<ACE_MT_SYNCH
> inherited
;
16 virtual ~CommandTask () { }
18 virtual int open (void * = 0 );
20 int put (ACE_Message_Block
*message
,
21 ACE_Time_Value
*timeout
);
25 virtual int close (u_long flags
);
28 CommandTask (int command
);
30 virtual int process (Command
*message
);
37 #endif /* COMMAND_TASK_H */