summaryrefslogtreecommitdiff
path: root/examples/APG/Streams/EndTask.h
blob: 62b4093f97586fe897e0aa4c19f692e9b9fae9fb (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 *)
  {
    ACE_DEBUG ((LM_DEBUG,
                ACE_TEXT ("EndTask::next_step() - ")
                ACE_TEXT ("end of the line.\n")));
    return 0;
  }
};
// Listing 1

#endif /* END_TASK_H */