Changeset 2413 for sample/pingpong


Ignore:
Timestamp:
Feb 13, 2009, 4:33:52 PM (16 years ago)
Author:
Christoph Mayer
Message:

-letzte fixes von tidy umstellung

Location:
sample/pingpong
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • sample/pingpong/PingPong.cpp

    r2410 r2413  
    121121// timer event
    122122void PingPong::eventFunction() {
    123 
    124         logging_info("pinging our remote nodes");
    125 //      RemoteNodes::iterator i = remoteNodes.begin();
    126 //      RemoteNodes::iterator iend = remoteNodes.end();
    127 //
    128 //      pingid++;
    129 //
    130 //      for (; i != iend; i++) {
    131 //              logging_info("     -> pinging " << i->first);
    132 //
    133 //              PingPongMessage pingmsg(pingid);
    134 //              overlay->sendMessage(&pingmsg, i->second);
    135 //      }
    136123}
    137124
  • sample/pingpong/PingPong.h

    r2410 r2413  
    6363        // the current ping id
    6464        unsigned long pingId;
    65 
    66 //      // the known remote nodes
    67 //      typedef map<NodeID, LinkID> RemoteNodes;
    68 //      RemoteNodes remoteNodes;
    6965};
    7066
  • sample/pingpong/PingPongMessage.h

    r2410 r2413  
    11#ifndef PINGPONGMESSAGES_H_
    22#define PINGPONGMESSAGES_H_
    3 
    4 // #include "ariba/utility/messages.h"
    5 // #include "ariba/utility/serialization.h"
    6 // #include "ariba/utility/misc/Helper.h"
    7 // using ariba::utility::Message;
    83
    94#include <string>
  • sample/pingpong/main.cpp

    r2412 r2413  
    11#include <string>
    22#include "ariba/utility/system/StartupWrapper.h"
    3 #include "TidyPingPong.h"
     3#include "PingPong.h"
    44
    55using std::string;
Note: See TracChangeset for help on using the changeset viewer.