#include <PongTask.h>
Inheritance diagram for Pong_Task:
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) |
Definition at line 33 of file PongTask.h.
|
Reimplemented from cvm::CvmBaseTask< Chan >. |
|
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. |
|
Each app should implement the following 3 methods.
Reimplemented from cvm::CvmBaseTask< Chan >. |
|
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. |
|
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(). |
|
Reimplemented from cvm::CvmBaseTask< Chan >. |
|
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. |