3 #include <boost/archive/text_oarchive.hpp>
4 #include <boost/archive/text_iarchive.hpp>
6 #include "connectionList.h"
7 #include "threadUtils.hpp"
8 #include "syncConnectionCommand.h"
9 #include "syncRouteCommand.h"
10 #include "networkPrefix.h"
16 SyncCommand(ConnectionList
& cl
);
17 SyncCommand(ConnectionList
& cl
,u_int16_t mux
);
18 SyncCommand(NetworkPrefix
);
22 SyncCommand(const SyncCommand
&);
23 SyncConnectionCommand
* scc_
;
24 SyncRouteCommand
* src_
;
25 friend class boost::serialization::access
;
26 template<class Archive
>
27 void serialize(Archive
& ar
, const unsigned int version
)
32 syncstr
= "connection";
39 // std::cout << "syncstr received " <<syncstr << std::endl;
40 if (syncstr
== "connection")
42 if (syncstr
== "route")
44 // std::cout << "syncstr done " <<syncstr << std::endl;
49 #endif // _SYNCCOMMAND_H