close Warning: Can't use blame annotator:
No changeset 1891 in the repository

source: trash/pingpong/PingPongMessage.h@ 10394

Last change on this file since 10394 was 10394, checked in by mayer@…, 13 years ago

-can define protlib message size at configure time using CPPFLAGS='-DPROTLIBMESSAGESIZE=200000'

File size: 714 bytes
RevLine 
1#ifndef PINGPONGMESSAGES_H_
2#define PINGPONGMESSAGES_H_
3
4#include <string>
5#include "ariba/utility/messages.h"
6#include "ariba/utility/serialization.h"
7#include "ariba/utility/misc/Helper.h"
8
9using std::string;
10using ariba::utility::Message;
11
12namespace ariba {
13namespace application {
14namespace pingpong {
15
16using_serialization;
17
18class PingPongMessage : public Message {
19 VSERIALIZEABLE;
20public:
21 PingPongMessage();
22 PingPongMessage(uint8_t _id);
23 virtual ~PingPongMessage();
24
25 string info();
26 uint8_t getid();
27
28private:
29 uint8_t id;
30};
31
32}}} // namespace ariba, appplication , pingpong
33
34sznBeginDefault( ariba::application ::pingpong::PingPongMessage, X ) {
35 X && id;
36} sznEnd();
37
38#endif /* PINGPONGMESSAGES_H_ */
Note: See TracBrowser for help on using the repository browser.