![]() |
Deskflow 1.24.0.365
Keyboard and mouse sharing utility
|
#include <ServerApp.h>


Public Member Functions | |
| ServerApp (IEventQueue *events, const QString &processName=QString()) | |
| ~ServerApp () override=default | |
| void | parseArgs () override |
| const char * | daemonName () const override |
| const char * | daemonInfo () const override |
| void | loadConfig () override |
| bool | loadConfig (const std::string &pathname) override |
| deskflow::Screen * | createScreen () override |
| int | mainLoop () override |
| int | runInner (StartupFunc startup) override |
| int | start () override |
| void | startNode () override |
| void | reloadConfig () |
| void | forceReconnect () |
| void | resetServer () |
| void | handleClientConnected (const Event &e, ClientListener *listener) |
| void | closeServer (Server *server) |
| void | stopRetryTimer () |
| void | closeClientListener (ClientListener *listen) |
| void | stopServer () |
| void | closePrimaryClient (PrimaryClient *primaryClient) |
| void | closeServerScreen (deskflow::Screen *screen) |
| void | cleanupServer () |
| bool | initServer () |
| void | retryHandler () |
| deskflow::Screen * | openServerScreen () |
| PrimaryClient * | openPrimaryClient (const std::string &name, deskflow::Screen *screen) |
| void | handleSuspend () |
| void | handleResume () |
| ClientListener * | openClientListener (const NetworkAddress &address) |
| Server * | openServer (ServerConfig &config, PrimaryClient *primaryClient) |
| bool | startServer () |
| Server * | getServerPtr () |
| Public Member Functions inherited from App | |
| App (IEventQueue *events, const QString &processName) | |
| App (App const &)=delete | |
| App (App &&)=delete | |
| ~App () override | |
| App & | operator= (App const &)=delete |
| App & | operator= (App &&)=delete |
| void | setByeFunc (void(*bye)(int)) override |
| void | bye (int error) override |
| IEventQueue * | getEvents () const override |
| ARCH_APP_UTIL & | appUtil () |
| int | run () |
| int | daemonMainLoop (int, const char **) |
| void | setupFileLogging () |
| void | loggingFilterWarning () const |
| void | initApp () override |
| void | setEvents (EventQueue &events) |
| void | setSocketMultiplexer (std::unique_ptr< SocketMultiplexer > &&sm) |
| SocketMultiplexer * | getSocketMultiplexer () const |
| QString | processName () const |
| void | handleScreenError () const |
| Public Member Functions inherited from IApp | |
| virtual | ~IApp ()=default |
Static Public Member Functions | |
| static void | reloadSignalHandler (Arch::ThreadSignal, void *) |
| static ServerApp & | instance () |
| Static Public Member Functions inherited from App | |
| static App & | instance () |
Additional Inherited Members | |
| Protected Member Functions inherited from App | |
| void | runEventsLoop (const void *) |
|
explicit |
|
overridedefault |
| void ServerApp::cleanupServer | ( | ) |
| void ServerApp::closeClientListener | ( | ClientListener * | listen | ) |
| void ServerApp::closePrimaryClient | ( | PrimaryClient * | primaryClient | ) |
| void ServerApp::closeServer | ( | Server * | server | ) |
| void ServerApp::closeServerScreen | ( | deskflow::Screen * | screen | ) |
|
overridevirtual |
Implements IApp.
|
overridevirtual |
Implements App.
|
overridevirtual |
Implements IApp.
| void ServerApp::forceReconnect | ( | ) |
|
inline |
| void ServerApp::handleClientConnected | ( | const Event & | e, |
| ClientListener * | listener ) |
| void ServerApp::handleResume | ( | ) |
| void ServerApp::handleSuspend | ( | ) |
| bool ServerApp::initServer | ( | ) |
|
inlinestatic |
|
overridevirtual |
Implements App.
|
overridevirtual |
Implements App.
| ClientListener * ServerApp::openClientListener | ( | const NetworkAddress & | address | ) |
| PrimaryClient * ServerApp::openPrimaryClient | ( | const std::string & | name, |
| deskflow::Screen * | screen ) |
| Server * ServerApp::openServer | ( | ServerConfig & | config, |
| PrimaryClient * | primaryClient ) |
| deskflow::Screen * ServerApp::openServerScreen | ( | ) |
|
overridevirtual |
Implements App.
| void ServerApp::reloadConfig | ( | ) |
|
static |
| void ServerApp::resetServer | ( | ) |
| void ServerApp::retryHandler | ( | ) |
|
overridevirtual |
Implements IApp.
|
overridevirtual |
Implements IApp.
| bool ServerApp::startServer | ( | ) |
| void ServerApp::stopRetryTimer | ( | ) |
| void ServerApp::stopServer | ( | ) |