public CHttpServer(String strFileRoot) { m_root = strFileRoot; base.setLogCategory(LOG.getLogCategory()); setPollInterval(QUEUE_POLL_INTERVAL_INFINITE); start(epNormal); }
SyncThread() { CThreadQueue.setLogCategory(LOG.getLogCategory()); if (RhoConf.getInstance().isExist("sync_poll_interval")) { setPollInterval(RhoConf.getInstance().getInt("sync_poll_interval")); } m_oSyncEngine = new SyncEngine(); m_oSyncEngine.setFactory(); LOG.INFO("sync_poll_interval: " + RhoConf.getInstance().getInt("sync_poll_interval")); LOG.INFO("syncserver: " + RhoConf.getInstance().getString("syncserver")); LOG.INFO("bulksync_state: " + RhoConf.getInstance().getInt("bulksync_state")); //ClientRegister.Create(); if (RhoConf.getInstance().getString("syncserver").length() > 0) { start(epLow); } }