Changeset 5860 for source/ariba/overlay/OverlayBootstrap.h
- Timestamp:
- Aug 11, 2009, 1:47:47 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
source/ariba/overlay/OverlayBootstrap.h
r5838 r5860 44 44 #include <ctime> 45 45 #include <deque> 46 #include <algorithm> 46 47 #include <boost/thread/mutex.hpp> 47 48 #include "ariba/utility/logging/Logging.h" … … 56 57 #include "ariba/utility/system/SystemEventType.h" 57 58 59 using std::swap; 58 60 using std::deque; 59 61 using std::string; … … 94 96 95 97 private: 96 class EventData {98 class JoinData { 97 99 public: 100 JoinData() : spovnetid(), nodeid(), endpoint() { 101 } 102 103 JoinData& operator=( const JoinData& rhs) { 104 spovnetid = rhs.spovnetid; 105 nodeid = rhs.nodeid; 106 endpoint = rhs.endpoint; 107 } 108 98 109 SpoVNetID spovnetid; 99 110 NodeID nodeid; … … 106 117 BaseOverlay* overlay; 107 118 string randname; 108 109 class JoinData {110 public:111 time_t timestamp;112 EventData data;113 114 JoinData(const EventData& _data){115 timestamp = time(NULL);116 data = _data;117 }118 119 JoinData(){120 timestamp = time(NULL);121 }122 };123 119 124 120 class WatchdogTimer : public Timer {
Note:
See TracChangeset
for help on using the changeset viewer.