6#ifndef SWIFT_MISC_SHAREDSTATE_DBUS_DUPLEXPROXY_H
7#define SWIFT_MISC_SHAREDSTATE_DBUS_DUPLEXPROXY_H
15 namespace shared_state::dbus
Used for hand written interface based on virtual methods.
Wrapper around QVariant which provides transparent access to CValueObject methods of the contained ob...
Value object encapsulating a list of variants.
void withdraw(const QString &channel)
Client advertises that it can no longer handle requests for the given channel.
void postEvent(const QString &channel, const swift::misc::CVariant ¶m)
Client posts an event to the server.
void submitRequest(const QString &channel, const swift::misc::CVariant ¶m, quint32 token)
Client submits a request to the server. Reply is returned via a future.
void setSubscription(const QString &channel, const swift::misc::CVariantList &filters)
Client announces its subscription to an event channel.
void requestPeerSubscriptions()
Client requests to be notified of all other clients' subscriptions.
void reply(const swift::misc::CVariant ¶m, quint32 token)
Client replies to a submitted request.
void advertise(const QString &channel)
Client advertises that it can handle requests for the given channel.
CDuplexProxy(const QDBusConnection &connection, const QString &service, QObject *parent=nullptr)
Constructor.
IDuplex(QObject *parent=nullptr)
Constructor.
#define SWIFT_MISC_DUPLEX_INTERFACE
DBus interface for sharedstate hub.
Free functions in swift::misc.
QObject * parent() const const
#define SWIFT_MISC_EXPORT
Export a class or function from the library.