Content Hub  0.0.1
A session-wide content-exchange service
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Friends Pages
com::ubuntu::content::Hub Class Reference

#include <hub.h>

+ Inheritance diagram for com::ubuntu::content::Hub:
+ Collaboration diagram for com::ubuntu::content::Hub:

Classes

struct  Client
 

Public Member Functions

 Hub (const Hub &)=delete
 
virtual ~Hub ()
 
Huboperator= (const Hub &)=delete
 
virtual Q_INVOKABLE void register_import_export_handler (ImportExportHandler *handler)
 
virtual Q_INVOKABLE const Storestore_for_scope_and_type (Scope scope, Type type)
 
virtual Q_INVOKABLE Peer default_peer_for_type (Type type)
 
virtual Q_INVOKABLE QVector< Peerknown_peers_for_type (Type type)
 
virtual Q_INVOKABLE Transfercreate_import_for_type_from_peer (Type type, Peer peer)
 
virtual Q_INVOKABLE void quit ()
 

Protected Member Functions

 Hub (QObject *=nullptr)
 

Detailed Description

Definition at line 38 of file hub.h.

Constructor & Destructor Documentation

com::ubuntu::content::Hub::Hub ( const Hub )
delete
virtual com::ubuntu::content::Hub::~Hub ( )
virtual
com::ubuntu::content::Hub::Hub ( QObject = nullptr)
protected

Member Function Documentation

virtual Q_INVOKABLE Transfer* com::ubuntu::content::Hub::create_import_for_type_from_peer ( Type  type,
Peer  peer 
)
virtual
virtual Q_INVOKABLE Peer com::ubuntu::content::Hub::default_peer_for_type ( Type  type)
virtual
virtual Q_INVOKABLE QVector<Peer> com::ubuntu::content::Hub::known_peers_for_type ( Type  type)
virtual
Hub& com::ubuntu::content::Hub::operator= ( const Hub )
delete
virtual Q_INVOKABLE void com::ubuntu::content::Hub::quit ( )
virtual
virtual Q_INVOKABLE void com::ubuntu::content::Hub::register_import_export_handler ( ImportExportHandler handler)
virtual
virtual Q_INVOKABLE const Store* com::ubuntu::content::Hub::store_for_scope_and_type ( Scope  scope,
Type  type 
)
virtual

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