#include <PingTask.h>
Inheritance diagram for Ping_Task:
Public Member Functions | |
Status | prepare (void) |
Each app should implement the following 3 methods. | |
Status | cleanup (void) |
int | work (void) |
Definition at line 33 of file PingTask.h.
|
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. |
|
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. |
|
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. |