| 
            Last change
 on this file since 4622 was             4620, checked in by Christoph Mayer, 16 years ago           | 
        
        
          | 
             
alle uint_8 auf uint_16 welche an serialisierung beteiligt sind 
 
           | 
        
        
          | 
            File size:
            476 bytes
           | 
        
      
      
| Rev | Line |   | 
|---|
 | 1 | #include "PingPongMessage.h"
 | 
|---|
 | 2 | 
 | 
|---|
 | 3 | namespace ariba {
 | 
|---|
 | 4 | namespace application {
 | 
|---|
 | 5 | namespace pingpong {
 | 
|---|
 | 6 | 
 | 
|---|
 | 7 | vsznDefault(PingPongMessage);
 | 
|---|
 | 8 | 
 | 
|---|
 | 9 | PingPongMessage::PingPongMessage() : id(0) {
 | 
|---|
 | 10 | }
 | 
|---|
 | 11 | 
 | 
|---|
 | 12 | PingPongMessage::PingPongMessage(uint16_t _id) : id(_id) {
 | 
|---|
 | 13 | }
 | 
|---|
 | 14 | 
 | 
|---|
 | 15 | PingPongMessage::~PingPongMessage(){
 | 
|---|
 | 16 | }
 | 
|---|
 | 17 | 
 | 
|---|
 | 18 | string PingPongMessage::info(){
 | 
|---|
 | 19 |         return "ping pong message id " + ariba::utility::Helper::ultos(id);
 | 
|---|
 | 20 | }
 | 
|---|
 | 21 | 
 | 
|---|
 | 22 | uint16_t PingPongMessage::getid(){
 | 
|---|
 | 23 |         return id;
 | 
|---|
 | 24 | }
 | 
|---|
 | 25 | 
 | 
|---|
 | 26 | }}} // namespace ariba, appplication, pingpong
 | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.