Merge pull request #2309 from mitza-oci/warnings
[ACE_TAO.git] / ACE / examples / APG / Streams / EndTask.h
blob024800b68101f27f86b82cb3873f9162830441a6
1 /* -*- C++ -*- */
2 #ifndef END_TASK_H
3 #define END_TASK_H
5 // Listing 1 code/ch18
6 class TheEndTask : public BasicTask {
7 protected:
8 virtual int process (Message *)
10 ACE_TRACE ("EndTask::process()");
11 return 0;
14 virtual int next_step (ACE_Message_Block *mb)
16 ACE_DEBUG ((LM_DEBUG,
17 ACE_TEXT ("TheEndTask::next_step() - ")
18 ACE_TEXT ("end of the line.\n")));
19 mb->release ();
20 return 0;
23 // Listing 1
25 #endif /* END_TASK_H */