RemoteServer Class
(QInstaller::RemoteServer)Public Functions
RemoteServer(QObject *parent = 0) | |
virtual | ~RemoteServer() |
QString | authorizationKey() const |
void | init(const QString &socketName, const QString &key, Protocol::Mode mode) |
QString | socketName() const |
void | start() |
Member Function Documentation
RemoteServer::RemoteServer(QObject *parent = 0)
Constructs an remote server object with parent.
[virtual]
RemoteServer::~RemoteServer()
Destroys the remote server object.
QString RemoteServer::authorizationKey() const
Returns the authorization key.
void RemoteServer::init(const QString &socketName, const QString &key, Protocol::Mode mode)
Initializes the server with socketName, with key, the key the client needs to send to authenticate with the server, and mode.
QString RemoteServer::socketName() const
Returns the socket name the server is listening on.
void RemoteServer::start()
Starts the server.
Note: If running in debug mode, the timer that kills the server after 30 seconds without usage is not started, so the server runs in an endless loop.