Changeset 4866 for source/ariba/overlay/OverlayBootstrap.h
- Timestamp:
- Jul 13, 2009, 9:42:32 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
source/ariba/overlay/OverlayBootstrap.h
r4836 r4866 47 47 #include "ariba/utility/bootstrap/BootstrapInformationCallback.h" 48 48 #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" 49 53 50 54 using std::string; … … 55 59 using ariba::utility::BootstrapInformationCallback; 56 60 using ariba::communication::EndpointDescriptor; 61 using ariba::utility::SystemEventType; 62 using ariba::utility::SystemEvent; 63 using ariba::utility::SystemQueue; 64 using ariba::utility::SystemEventListener; 57 65 58 66 namespace ariba { … … 61 69 class BaseOverlay; 62 70 63 class OverlayBootstrap : public BootstrapInformationCallback {71 class OverlayBootstrap : public BootstrapInformationCallback, public SystemEventListener { 64 72 use_logging_h(OverlayBootstrap); 65 73 public: … … 74 82 75 83 protected: 84 virtual void handleSystemEvent(const SystemEvent& event); 76 85 virtual void onBootstrapServiceFound(string name, string info1, string info2, string info); 77 86 78 87 private: 88 typedef struct _EventData { 89 SpoVNetID spovnetid; 90 NodeID nodeid; 91 EndpointDescriptor endpoint; 92 } EventData; 93 79 94 BootstrapManager& manager; 80 95 SpoVNetID spovnetid;
Note:
See TracChangeset
for help on using the changeset viewer.