Inherits CApp.
Classes | |
| class | CArgs |
Public Member Functions | |
| CServerApp (CreateTaskBarReceiverFunc createTaskBarReceiver) | |
| void | parseArgs (int argc, const char *const *argv) |
| void | help () |
| CArgs & | args () const |
| const char * | daemonName () const |
| const char * | daemonInfo () const |
| void | reloadConfig (const CEvent &, void *) |
| void | loadConfig () |
| bool | loadConfig (const CString &pathname) |
| void | forceReconnect (const CEvent &, void *) |
| CEvent::Type | getForceReconnectEvent () |
| void | resetServer (const CEvent &, void *) |
| CEvent::Type | getResetServerEvent () |
| void | handleClientConnected (const CEvent &, void *vlistener) |
| void | handleClientsDisconnected (const CEvent &, void *) |
| void | closeServer (CServer *server) |
| void | stopRetryTimer () |
| void | updateStatus () |
| void | updateStatus (const CString &msg) |
| void | closeClientListener (CClientListener *listen) |
| void | stopServer () |
| void | closePrimaryClient (CPrimaryClient *primaryClient) |
| void | closeServerScreen (CScreen *screen) |
| void | cleanupServer () |
| bool | initServer () |
| void | retryHandler (const CEvent &, void *) |
| CScreen * | openServerScreen () |
| CScreen * | createScreen () |
| CPrimaryClient * | openPrimaryClient (const CString &name, CScreen *screen) |
| void | handleScreenError (const CEvent &, void *) |
| void | handleSuspend (const CEvent &, void *) |
| void | handleResume (const CEvent &, void *) |
| CClientListener * | openClientListener (const CNetworkAddress &address) |
| CServer * | openServer (const CConfig &config, CPrimaryClient *primaryClient) |
| void | handleNoClients (const CEvent &, void *) |
| bool | startServer () |
| int | mainLoop () |
| int | runInner (int argc, char **argv, ILogOutputter *outputter, StartupFunc startup) |
| int | standardStartup (int argc, char **argv) |
| int | foregroundStartup (int argc, char **argv) |
| void | startNode () |
Static Public Member Functions | |
| static void | reloadSignalHandler (CArch::ESignal, void *) |
| static CEvent::Type | getReloadConfigEvent () |
| static CServerApp & | instance () |
Public Attributes | |
| CServer * | s_server |
| CEvent::Type | s_forceReconnectEvent |
| CEvent::Type | s_resetServerEvent |
| EServerState | s_serverState |
| CScreen * | s_serverScreen |
| CPrimaryClient * | s_primaryClient |
| CClientListener * | s_listener |
| CEventQueueTimer * | s_timer |
Static Public Attributes | |
| static CEvent::Type | s_reloadConfigEvent = CEvent::kUnknown |
Definition at line 45 of file CServerApp.h.
1.7.1