summaryrefslogtreecommitdiff
path: root/syncRouteCommand.h
diff options
context:
space:
mode:
Diffstat (limited to 'syncRouteCommand.h')
-rw-r--r--syncRouteCommand.h34
1 files changed, 0 insertions, 34 deletions
diff --git a/syncRouteCommand.h b/syncRouteCommand.h
deleted file mode 100644
index e8d1550..0000000
--- a/syncRouteCommand.h
+++ /dev/null
@@ -1,34 +0,0 @@
-#ifndef _SYNCROUTECOMMAND_H
-#define _SYNCROUTECOMMAND_H
-#include <boost/archive/text_oarchive.hpp>
-#include <boost/archive/text_iarchive.hpp>
-
-#include "threadUtils.hpp"
-#include "networkPrefix.h"
-#include "routingTable.h"
-
-class SyncRouteCommand
-{
-public:
- SyncRouteCommand(const NetworkPrefix & );
- SyncRouteCommand();
- NetworkPrefix getPrefix() const;
-
-private:
- SyncRouteCommand(const SyncRouteCommand &);
- uint16_t count_;
- NetworkPrefix addr_;
- friend class boost::serialization::access;
- template<class Archive>
- void serialize(Archive & ar, const unsigned int version)
- {
- Lock lock(gRoutingTable.getMutex());
- ar & addr_;
-// u_int16_t & mux (gRoutingTable.getOrNewRoutingTEUnlocked(addr_));
-// ar & mux;
- ar & (*(gRoutingTable.getOrNewRoutingTEUnlocked(addr_)));
- };
-};
-
-
-#endif // _SYNCCOMMAND_H