ddc
|
Go to the source code of this file.
Functions | |
void | LoadDDCServer (string ServerConfigFile, const CDDCServerOptions &Options) |
void | LoadLocalCorpora (string ConfigFile, const CDDCServerOptions &Options) |
void | UnloadLocalCorporaAndServer () |
void | ShutdownDDCServer () |
void | ShutdownLocalCorpora () |
bool | CheckDaemonAlive () |
void LoadDDCServer | ( | string | ServerConfigFile, |
const CDDCServerOptions & | Options | ||
) |
References BServers, CHost::CopyAddressParametersFrom(), CHost::CreateListener(), ddcLogDebug, ddcLogWarn, errOther, Format(), GetIniFilePath(), CHost::GetLocalPathOfIndex(), CHost::InitEmbedded(), CDDCBranchServer::InitHostMap(), IsRmlRegistered(), isServerLabel(), LoadHosts(), CHost::m_CorpusName, CDDCBranchServer::m_Hosts, RootServer, and CDDCBranchServer::SetOptions().
Referenced by do_start().
void LoadLocalCorpora | ( | string | ConfigFile, |
const CDDCServerOptions & | Options | ||
) |
References CExpc::code(), CHost::CopyAddressParametersFrom(), CHost::CreateListener(), ddcLogError, ddcLogInfo, errOther, Format(), GetIniFilePath(), IsRmlRegistered(), CDDCLeafServer::LoadHolder(), LoadHosts(), LocalCorpora, CDDCServer::SetOptions(), and CExpc::what().
Referenced by do_start().
void UnloadLocalCorporaAndServer | ( | ) |
References BServers, LocalCorpora, RootServer, and UnloadMutex.
Referenced by UnloadData().
void ShutdownDDCServer | ( | ) |
References CDDCBranchServer::Shutdown(), and UnloadMutex.
Referenced by ShutdownServerSockets().
void ShutdownLocalCorpora | ( | ) |
References LocalCorpora, and UnloadMutex.
Referenced by ShutdownServerSockets().
bool CheckDaemonAlive | ( | ) |
References BServers, CHost::IsListening(), and LocalCorpora.
Referenced by do_start().