swift
Public Member Functions | List of all members
swift::misc::shared_state::dbus::CHubProxy Class Referencefinal

Client side implementation of IHub. More...

Inheritance diagram for swift::misc::shared_state::dbus::CHubProxy:
[legend]

Public Member Functions

 CHubProxy (const QDBusConnection &connection, const QString &service, QObject *parent=nullptr)
 Constructor.
 
virtual ~CHubProxy ()
 Destructor.
 

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

- Public Slots inherited from swift::misc::shared_state::dbus::IHub
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 Public Member Functions inherited from swift::misc::shared_state::dbus::IHub
static IHubcreate (bool proxy, CDBusServer *server, const QDBusConnection &connection, const QString &service, QObject *parent=nullptr)
 Construct a new hub.
 
- Protected Member Functions inherited from swift::misc::shared_state::dbus::IHub
 IHub (QObject *parent=nullptr)
 Constructor.
 

Detailed Description

Client side implementation of IHub.

Definition at line 22 of file hubproxy.h.

Member Function Documentation

◆ closeDuplex

void swift::misc::shared_state::dbus::CHubProxy::closeDuplex ( const swift::misc::CIdentifier client)
virtualslot

Destroy the duplex object for the identified process.

Definition at line 37 of file hubproxy.cpp.

◆ getDuplex()

std::pair< QSharedPointer< IDuplex >, QFuture< bool > > swift::misc::shared_state::dbus::CHubProxy::getDuplex ( const CIdentifier identifier)
virtual

Create a duplex object for the identified process.

Implements swift::misc::shared_state::dbus::IHub.

Definition at line 25 of file hubproxy.cpp.

◆ isConnected()

bool swift::misc::shared_state::dbus::CHubProxy::isConnected ( ) const
virtual

Create a duplex object for the identified process.

Implements swift::misc::shared_state::dbus::IHub.

Definition at line 23 of file hubproxy.cpp.

◆ openDuplex

bool swift::misc::shared_state::dbus::CHubProxy::openDuplex ( const swift::misc::CIdentifier client)
virtualslot

Create a duplex object for the identified process.

Definition at line 32 of file hubproxy.cpp.

◆ openDuplexAsync()

QFuture< bool > swift::misc::shared_state::dbus::CHubProxy::openDuplexAsync ( const CIdentifier client)
protectedvirtual

Create a duplex object for the identified process.

Implements swift::misc::shared_state::dbus::IHub.

Definition at line 42 of file hubproxy.cpp.


The documentation for this class was generated from the following files: