3 #include <boost/archive/text_oarchive.hpp>
4 #include <boost/archive/text_iarchive.hpp>
6 #include "connectionList.h"
7 #include "threadUtils.hpp"
12 SyncCommand(ConnectionList
& cl
);
13 SyncCommand(ConnectionList
& cl
,u_int16_t mux
);
14 u_int16_t
getMux() const;
17 SyncCommand(const SyncCommand
&);
20 friend class boost::serialization::access
;
21 template<class Archive
>
22 void serialize(Archive
& ar
, const unsigned int version
)
24 Lock
lock(cl_
.getMutex());
26 ConnectionParam
& conn
= cl_
.getOrNewConnectionUnlocked(mux_
);
32 #endif // _SYNCCOMMAND_H