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 "syncRtpCommand.h"
11 #include "networkPrefix.h"
17 SyncCommand(ConnectionList
& cl
);
18 SyncCommand(ConnectionList
& cl
,u_int16_t mux
);
19 SyncCommand(const std::string
&);
20 SyncCommand(NetworkPrefix
);
24 SyncCommand(const SyncCommand
&);
25 SyncConnectionCommand
* scc_
;
26 SyncRouteCommand
* src_
;
27 SyncRtpCommand
* srtpc_
;
28 friend class boost::serialization::access
;
29 template<class Archive
>
30 void serialize(Archive
& ar
, const unsigned int version
)
35 syncstr
= "connection";
46 // std::cout << "syncstr received " <<syncstr << std::endl;
47 if (syncstr
== "connection")
49 if (syncstr
== "route")
53 // std::cout << "syncstr done " <<syncstr << std::endl;
58 #endif // _SYNCCOMMAND_H