#include <localsocketconnectionlistener.h>
Provides an implementation of ConnectionListener using QLocalServer. Each connection made is emitted as a LocalSocketConnection.
<avogadro/rpc/localsocketconnectionlistener.h>
◆ LocalSocketConnectionListener()
| LocalSocketConnectionListener |
( |
QObject * | parentObject, |
|
|
const QString & | connectionString ) |
|
explicit |
Constructor.
- Parameters
-
| parentObject | parent |
| connectionString | The address that the QLocalServer should listen on. |
◆ start()
◆ stop() [1/2]
Stops the connection listener.
- Parameters
-
| force | If true use QLocalServer::removeServer(...) to remove server. |
Implements ConnectionListener.
◆ stop() [2/2]
◆ connectionString()
| QString connectionString |
( |
| ) |
const |
|
overridevirtual |
◆ fullConnectionString()
| QString fullConnectionString |
( |
| ) |
const |
- Returns
- the full address the QLocalServer is listening on.