Classes | Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes

CServerApp Class Reference

Inherits CApp.

List of all members.

Classes

class  CArgs

Public Member Functions

 CServerApp (CreateTaskBarReceiverFunc createTaskBarReceiver)
void parseArgs (int argc, const char *const *argv)
void help ()
CArgsargs () 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 *)
CScreenopenServerScreen ()
CScreencreateScreen ()
CPrimaryClientopenPrimaryClient (const CString &name, CScreen *screen)
void handleScreenError (const CEvent &, void *)
void handleSuspend (const CEvent &, void *)
void handleResume (const CEvent &, void *)
CClientListeneropenClientListener (const CNetworkAddress &address)
CServeropenServer (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 CServerAppinstance ()

Public Attributes

CServers_server
CEvent::Type s_forceReconnectEvent
CEvent::Type s_resetServerEvent
EServerState s_serverState
CScreens_serverScreen
CPrimaryClients_primaryClient
CClientListeners_listener
CEventQueueTimers_timer

Static Public Attributes

static CEvent::Type s_reloadConfigEvent = CEvent::kUnknown

Detailed Description

Definition at line 45 of file CServerApp.h.


The documentation for this class was generated from the following files: