Changeset 3578


Ignore:
Timestamp:
May 15, 2009, 1:59:19 PM (15 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

Files:
5 edited

Legend:

Unmodified
Added
Removed
  • /

    • Property svn:mergeinfo changed (with no actual effect on merging)
  • Makefile.am

    r3577 r3578  
    11ACLOCAL_AMFLAGS = -I m4
     2SUBDIRS    = docu source sample
    23EXTRA_DIST = etc/* INSTALL LICENSE README bootstrap
    3 SUBDIRS    = docu source sample
     4
     5# hook to remove all .svn files before rolling the tarball
     6dist-hook:
     7        find $(distdir) -name '.[a-zA-Z0-9]*' | xargs rm -rf
  • 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.