blob: a42eca655d95887280a60f2e175f56189bc4d6a2 (
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
|
/* -*- C++ -*- */
// $Id$
#ifndef END_TASK_H
#define END_TASK_H
// Listing 1 code/ch18
class EndTask : public BasicTask {
protected:
virtual int process (Message *)
{
ACE_TRACE (ACE_TEXT ("EndTask::process()"));
return 0;
}
virtual int next_step (ACE_Message_Block *mb)
{
ACE_DEBUG ((LM_DEBUG,
ACE_TEXT ("EndTask::next_step() - ")
ACE_TEXT ("end of the line.\n")));
mb->release ();
return 0;
}
};
// Listing 1
#endif /* END_TASK_H */
|