diff options
author | Othmar Gsenger <otti@anytun.org> | 2008-04-12 11:38:42 +0000 |
---|---|---|
committer | Othmar Gsenger <otti@anytun.org> | 2008-04-12 11:38:42 +0000 |
commit | fffd213c8cba2135afda493d797c41c10354770e (patch) | |
tree | bb5eea1b12871d8c3fed0e687d83be3e504d11b2 /syncRouteCommand.h | |
parent | svn cleanup (diff) |
big svn cleanup
Diffstat (limited to 'syncRouteCommand.h')
-rw-r--r-- | syncRouteCommand.h | 34 |
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 |