Ping_Task Class Reference

#include <PingTask.h>

Inheritance diagram for Ping_Task:

cvm::CvmTask cvm::CvmBaseTask< Chan > ACE_Task List of all members.

Public Member Functions

Status prepare (void)
 Each app should implement the following 3 methods.
Status cleanup (void)
int work (void)

Detailed Description

Definition at line 33 of file PingTask.h.


Member Function Documentation

Status Ping_Task::cleanup void   )  [virtual]
 

Reimplemented from cvm::CvmBaseTask< Chan >.

Definition at line 33 of file PingTask.cpp.

References cvm::CvmBaseTask< Chan >::my_port(), PING_MSG, PONG_MSG, and channel::SUCCESS.

Status Ping_Task::prepare void   )  [virtual]
 

Each app should implement the following 3 methods.

Reimplemented from cvm::CvmBaseTask< Chan >.

Definition at line 26 of file PingTask.cpp.

References cvm::CvmBaseTask< Chan >::my_port_, PING_MSG, PONG_MSG, channel::SCOPE_GLOBAL, and channel::SUCCESS.

int Ping_Task::work void   )  [virtual]
 

Reimplemented from cvm::CvmBaseTask< Chan >.

Definition at line 41 of file PingTask.cpp.

References Ping_Pong_Msg::count, Ping_Pong_Msg::data, channel::Msg< IdType, SynchPolicy >::data(), Ping_Pong_Msg::len, cvm::CvmBaseTask< Chan >::my_name(), cvm::CvmBaseTask< Chan >::my_port(), PING_MSG, PONG_MSG, channel::SUCCESS, and channel::Msg< IdType, SynchPolicy >::type.


The documentation for this class was generated from the following files:
Generated on Mon Feb 27 19:59:23 2006 for channel by  doxygen 1.4.6-NO