00001 #include "PingPongMessage.h" 00002 00003 namespace ariba { 00004 namespace application { 00005 namespace pingpong { 00006 00007 vsznDefault(PingPongMessage); 00008 00009 PingPongMessage::PingPongMessage() : id(0) { 00010 } 00011 00012 PingPongMessage::PingPongMessage(uint8_t _id) : id(_id) { 00013 } 00014 00015 PingPongMessage::~PingPongMessage(){ 00016 } 00017 00018 string PingPongMessage::info(){ 00019 return "ping pong message id " + ariba::utility::Helper::ultos(id); 00020 } 00021 00022 uint8_t PingPongMessage::getid(){ 00023 return id; 00024 } 00025 00026 }}} // namespace ariba, appplication, pingpong