Ignore:
Timestamp:
Jul 13, 2009, 9:42:32 AM (15 years ago)
Author:
Christoph Mayer
Message:

periodic bootstrap vervollständigt

File:
1 edited

Legend:

Unmodified
Added
Removed
  • source/ariba/overlay/OverlayBootstrap.h

    r4836 r4866  
    4747#include "ariba/utility/bootstrap/BootstrapInformationCallback.h"
    4848#include "ariba/communication/EndpointDescriptor.h"
     49#include "ariba/utility/system/SystemEventListener.h"
     50#include "ariba/utility/system/SystemQueue.h"
     51#include "ariba/utility/system/SystemEvent.h"
     52#include "ariba/utility/system/SystemEventType.h"
    4953
    5054using std::string;
     
    5559using ariba::utility::BootstrapInformationCallback;
    5660using ariba::communication::EndpointDescriptor;
     61using ariba::utility::SystemEventType;
     62using ariba::utility::SystemEvent;
     63using ariba::utility::SystemQueue;
     64using ariba::utility::SystemEventListener;
    5765
    5866namespace ariba {
     
    6169class BaseOverlay;
    6270
    63 class OverlayBootstrap : public BootstrapInformationCallback {
     71class OverlayBootstrap : public BootstrapInformationCallback, public SystemEventListener {
    6472        use_logging_h(OverlayBootstrap);
    6573public:
     
    7482
    7583protected:
     84        virtual void handleSystemEvent(const SystemEvent& event);
    7685        virtual void onBootstrapServiceFound(string name, string info1, string info2, string info);
    7786
    7887private:
     88        typedef struct _EventData {
     89                SpoVNetID spovnetid;
     90                NodeID nodeid;
     91                EndpointDescriptor endpoint;
     92        } EventData;
     93
    7994        BootstrapManager& manager;
    8095        SpoVNetID spovnetid;
Note: See TracChangeset for help on using the changeset viewer.