openser config with mysql authentication and location
[anytun.git] / syncCommand.cpp
blob338547812cbeaeb5109e909be03a52dd138c992b
1 #include "syncCommand.h"
3 SyncCommand::SyncCommand(ConnectionList & cl )
4 {
5 scc_ = new SyncConnectionCommand(cl);
6 src_ = new SyncRouteCommand();
9 SyncCommand::SyncCommand(ConnectionList & cl, u_int16_t mux )
11 scc_ = new SyncConnectionCommand(cl,mux);
12 src_=NULL;
15 SyncCommand::SyncCommand(NetworkPrefix np )
17 scc_ = NULL;
18 src_ = new SyncRouteCommand(np);
21 SyncCommand::~SyncCommand()
23 if (scc_)
24 delete scc_;
25 if (src_)
26 delete src_;