Pong_Task Class Reference

#include <PongTask.h>

Inheritance diagram for Pong_Task:

cvm::CvmTask cvm::CvmTask cvm::CvmBaseTask< Chan > cvm::CvmBaseTask< Chan > ACE_Task 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)
Status prepare (void)
 Each app should implement the following 3 methods.
Status cleanup (void)
int work (void)
void send_ping_pong (void)

Detailed Description

Definition at line 33 of file PongTask.h.


Member Function Documentation

Status Pong_Task::cleanup void   )  [virtual]
 

Reimplemented from cvm::CvmBaseTask< Chan >.

Status Pong_Task::cleanup void   )  [virtual]
 

Reimplemented from cvm::CvmBaseTask< Chan >.

Definition at line 30 of file PongTask.cpp.

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

Status Pong_Task::prepare void   )  [virtual]
 

Each app should implement the following 3 methods.

Reimplemented from cvm::CvmBaseTask< Chan >.

Status Pong_Task::prepare void   )  [virtual]
 

Each app should implement the following 3 methods.

Reimplemented from cvm::CvmBaseTask< Chan >.

Definition at line 21 of file PongTask.cpp.

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

void Pong_Task::send_ping_pong void   ) 
 

Definition at line 67 of file PongTask.cpp.

References Ping_Pong_Msg::count, Ping_Pong_Msg::data, Ping_Pong_Msg::len, cvm::CvmBaseTask< Chan >::my_port(), and PING_MSG.

Referenced by TimeOutCB::handle_timeout().

int Pong_Task::work void   )  [virtual]
 

Reimplemented from cvm::CvmBaseTask< Chan >.

int Pong_Task::work void   )  [virtual]
 

Reimplemented from cvm::CvmBaseTask< Chan >.

Definition at line 41 of file PongTask.cpp.

References Ping_Pong_Msg::count, channel::Msg< IdType, SynchPolicy >::data(), Ping_Pong_Msg::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