Changeset 3578 for source


Ignore:
Timestamp:
May 15, 2009, 1:59:19 PM (16 years ago)
Author:
Christoph Mayer
Message:

-paar fixes von pp branch zurück gemergt, one-shot Timer Fehler, Node Logausgabe wenn kein Bootstrap
-make dist hook damit alle .svn dateien gelöscht werden

Location:
source/ariba
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • source/ariba/Node.cpp

    r3374 r3578  
    6363        const communication::EndpointDescriptor* ep =
    6464                        ariba_mod.getBootstrapNode(vnetname);
    65         if( ep == NULL ) return;
    66 
     65        if( ep == NULL ) {
     66                std::cout << "no bootstrap node defined" << std::endl; 
     67                return;
     68        }
    6769        ariba_mod.base_comm->start(ariba_mod.ip_addr, ariba_mod.tcp_port);
    6870        base_overlay->start( *ariba_mod.base_comm, nodeId );
  • source/ariba/Node.h

    r3374 r3578  
    4949
    5050#include <vector>
     51#include <iostream>
    5152#include "Module.h"
    5253#include "Identifiers.h"
  • source/ariba/utility/system/Timer.cpp

    r2467 r3578  
    102102        }
    103103
    104         obj->running = false;
     104        if(! obj->oneshot )
     105                obj->running = false;
    105106}
    106107#endif // UNDERLAY_OMNET
    107108
    108109void Timer::handleSystemEvent( const SystemEvent& event ) {
    109         if( running )
     110        if( running ){
     111                if( oneshot ) running = false;
    110112                eventFunction();
     113        }
    111114
    112115#ifdef UNDERLAY_OMNET
Note: See TracChangeset for help on using the changeset viewer.