From 3171bd5661c80d692359c5a1a99d0f5488a25695 Mon Sep 17 00:00:00 2001 From: Klaus Basan Date: Sat, 27 Apr 2019 01:41:55 +0200 Subject: [PATCH] Added DBus comment/parameters --- src/blackmisc/dbusserver.cpp | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/blackmisc/dbusserver.cpp b/src/blackmisc/dbusserver.cpp index f04a5dbaa..0304035af 100644 --- a/src/blackmisc/dbusserver.cpp +++ b/src/blackmisc/dbusserver.cpp @@ -25,6 +25,17 @@ namespace BlackMisc { CDBusServer::CDBusServer(const QString &service, const QString &address, QObject *parent) : QObject(parent) { + // Application Options: + // -h, –host=HOSTNAME Hostname or IP of the remote host + // -p, –port-ssh=PORT-SSH SSH port on the remote host + // -u, –username=USERNAME SSH username on the remote host + // -w, –password=PASSWORD SSH password on the remote host + // -m, –method=DBUS_TRANSPORT_METHOD The D-Bus transport method to use (TCP, UNIX, abstract-UNIX) + // -b, –bind=HOSTNAME The bind-address to listen for D-Bus client connections on + // -d, –bus-address=BUS_ADDRESS The DBus session bus address of the remote D-Bus daemon + // -t, –port-tcp=PORT-TCP The TCP port to listen for DBus client connections on + // -v, –verbose=VERBOSE Set verbosity level (3, 2, 1, 0, -1)=(packet,protocol,functions,important,none) + static const QString desc("Mode: %1 Address: '%2' Service: '%3'"); m_serverMode = CDBusServer::modeOfAddress(address); this->setObjectName(desc.arg(CDBusServer::modeToString(m_serverMode), address, service.isEmpty() ? "-" : service));