Cat
|
#include <inc/Server.h>
Public Member Functions | |
Server (Application *) | |
Standard constructor. More... | |
virtual | ~Server () |
Destructor. More... | |
StatusCode | start () |
Start Service. More... | |
StatusCode | updateState () |
Update State Service. More... | |
StatusCode | updateConfig () |
Update Config Service. More... | |
StatusCode | cmdline (std::vector< std::string >) |
void | setUpdateDelay (int updateDelay) |
int | updateDelay () |
Private Attributes | |
Application * | m_app |
int | m_updateDelay |
Server::Server | ( | Application * | application | ) |
Standard constructor.
Definition at line 26 of file Server.cpp.
References application(), Object::info(), m_app, m_updateDelay, and Object::warning().
|
virtual |
StatusCode Server::cmdline | ( | std::vector< std::string > | cmd | ) |
Definition at line 128 of file Server.cpp.
References StatusCode::FAILURE, Object::info(), m_app, setUpdateDelay(), StatusCode::SUCCESS, updateConfig(), updateDelay(), and updateState().
|
inline |
Set accessor to member m_updateDelay
updateDelay | the new value for m_updateDelay |
Definition at line 41 of file Server.h.
References m_updateDelay, and updateDelay().
Referenced by cmdline().
StatusCode Server::start | ( | ) |
Start Service.
Definition at line 98 of file Server.cpp.
References application(), Application::config(), StatusCode::FAILURE, Object::info(), m_app, Object::name(), Application::procDb(), Application::state(), StatusCode::SUCCESS, updateDelay(), and Object::warning().
Referenced by Application::network(), and Application::server().
StatusCode Server::updateConfig | ( | ) |
Update Config Service.
Definition at line 83 of file Server.cpp.
References Object::debug(), StatusCode::FAILURE, m_app, StatusCode::SUCCESS, and Object::warning().
Referenced by cmdline(), and Application::setConfig().
|
inline |
Get accessor to member m_updateDelay
Definition at line 54 of file Server.h.
References m_updateDelay.
Referenced by cmdline(), setUpdateDelay(), and start().
StatusCode Server::updateState | ( | ) |
Update State Service.
Definition at line 68 of file Server.cpp.
References Object::debug(), StatusCode::FAILURE, m_app, StatusCode::SUCCESS, and Object::warning().
Referenced by cmdline(), and Application::setState().
|
private |
Definition at line 79 of file Server.h.
Referenced by cmdline(), Server(), start(), updateConfig(), and updateState().
|
private |
Definition at line 80 of file Server.h.
Referenced by Server(), setUpdateDelay(), and updateDelay().