swift
|
Server side implementation of IHub. More...
Public Member Functions | |
CHub (CDBusServer *server, QObject *parent=nullptr) | |
Constructor. | |
virtual | ~CHub () |
Destructor. | |
const auto & | clients () const |
Returns a range containing all duplex objects. | |
Interface implementations | |
virtual bool | isConnected () const |
Create a duplex object for the identified process. More... | |
virtual std::pair< QSharedPointer< IDuplex >, QFuture< bool > > | getDuplex (const CIdentifier &) |
Create a duplex object for the identified process. More... | |
virtual bool | openDuplex (const swift::misc::CIdentifier &client) |
Create a duplex object for the identified process. More... | |
virtual void | closeDuplex (const swift::misc::CIdentifier &client) |
Destroy the duplex object for the identified process. More... | |
virtual QFuture< bool > | openDuplexAsync (const CIdentifier &client) |
Create a duplex object for the identified process. More... | |
Additional Inherited Members | |
![]() | |
virtual bool | openDuplex (const swift::misc::CIdentifier &client)=0 |
Create a duplex object for the identified process. | |
virtual void | closeDuplex (const swift::misc::CIdentifier &client)=0 |
Destroy the duplex object for the identified process. | |
![]() | |
static IHub * | create (bool proxy, CDBusServer *server, const QDBusConnection &connection, const QString &service, QObject *parent=nullptr) |
Construct a new hub. | |
![]() | |
IHub (QObject *parent=nullptr) | |
Constructor. | |
|
virtualslot |
Destroy the duplex object for the identified process.
Definition at line 34 of file hubimpl.cpp.
|
virtual |
Create a duplex object for the identified process.
Implements swift::misc::shared_state::dbus::IHub.
Definition at line 19 of file hubimpl.cpp.
|
inlinevirtual |
Create a duplex object for the identified process.
Implements swift::misc::shared_state::dbus::IHub.
|
virtualslot |
Create a duplex object for the identified process.
Definition at line 25 of file hubimpl.cpp.
|
protectedvirtual |
Create a duplex object for the identified process.
Implements swift::misc::shared_state::dbus::IHub.
Definition at line 41 of file hubimpl.cpp.