Deskflow 1.22.0.197
Keyboard and mouse sharing utility
Loading...
Searching...
No Matches
deskflow::ServerArgs Class Reference

#include <ServerArgs.h>

Inheritance diagram for deskflow::ServerArgs:
Collaboration diagram for deskflow::ServerArgs:

Public Member Functions

 ServerArgs ()
 ServerArgs (ServerArgs const &src)=default
 ServerArgs (ServerArgs &&)=default
 ~ServerArgs () override=default
ServerArgsoperator= (ServerArgs const &)=default
ServerArgsoperator= (ServerArgs &&)=default
Public Member Functions inherited from deskflow::ArgsBase
 ArgsBase ()=default
virtual ~ArgsBase ()=default

Public Attributes

std::string m_configFile = ""
std::shared_ptr< Configm_config
bool m_chkPeerCert = true
Public Attributes inherited from deskflow::ArgsBase
ClassType m_classType = ClassType::Base
 Stores what type of object this is.
bool m_daemon = true
 Should run as a daemon.
bool m_restartable = true
 Should the app restart automatically.
bool m_noHooks = false
 Should the app use hooks.
const char * m_pname = nullptr
 The filename of the running process.
const char * m_logFilter = nullptr
 The logging level of the application.
const char * m_logFile = nullptr
 The full path to the logfile.
const char * m_display = nullptr
 Contains the X-Server display to use.
std::string m_name
 The name of the current computer.
bool m_disableTray = false
 Should the app add a tray icon.
bool m_shouldExitOk = false
 Will cause the application to exit with OK code when set to true.
bool m_shouldExitFail = false
 Will cause the application to exit with fail code when set to true.
std::string m_deskflowAddress
 Bind to this address.
bool m_enableCrypto = false
 Should the connections be TLS encrypted.
std::string m_tlsCertFile
 Contains the location of the TLS certificate file.
bool m_preventSleep = false
 Stop this computer from sleeping.

Additional Inherited Members

Public Types inherited from deskflow::ArgsBase
enum class  ClassType { Base , Server , Client }
 This sets the type of the derived class. More...
Static Protected Member Functions inherited from deskflow::ArgsBase
template<class T>
static void destroy (T *&p)
 deletes pointers and sets the value to null

Constructor & Destructor Documentation

◆ ServerArgs() [1/3]

deskflow::ServerArgs::ServerArgs ( )

◆ ServerArgs() [2/3]

deskflow::ServerArgs::ServerArgs ( ServerArgs const & src)
default

◆ ServerArgs() [3/3]

deskflow::ServerArgs::ServerArgs ( ServerArgs && )
default

◆ ~ServerArgs()

deskflow::ServerArgs::~ServerArgs ( )
overridedefault

Member Function Documentation

◆ operator=() [1/2]

ServerArgs & deskflow::ServerArgs::operator= ( ServerArgs && )
default

◆ operator=() [2/2]

ServerArgs & deskflow::ServerArgs::operator= ( ServerArgs const & )
default

Member Data Documentation

◆ m_chkPeerCert

bool deskflow::ServerArgs::m_chkPeerCert = true

◆ m_config

std::shared_ptr<Config> deskflow::ServerArgs::m_config

◆ m_configFile

std::string deskflow::ServerArgs::m_configFile = ""

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