- void networkStateRequested();
-
- void addClient(QObject *socket);
-
- void connectToNetwork(QString, const QVariant &previousState = QVariant());
- void connectToNetwork(NetworkId, const QVariant &previousState = QVariant());
- void disconnectFromNetwork(NetworkId id);
-
- //void processSignal(ClientSignal, QVariant, QVariant, QVariant);
- void sendBacklog(BufferInfo, QVariant, QVariant);
- void msgFromClient(BufferInfo, QString message);
-
- //! Create an identity and propagate the changes to the clients.
- /** \param identity The identity to be created.
- */
- void createIdentity(const Identity &identity);
-
- //! Update an identity and propagate the changes to the clients.
- /** \param identity The identity to be updated.
- */
- void updateIdentity(const Identity &identity);
-
- //! Remove identity and propagate that fact to the clients.
- /** \param identity The identity to be removed.
- */
- void removeIdentity(IdentityId identity);
-
- //! Create a network and propagate the changes to the clients.
- /** \param info The network's settings.
- */
- void createNetwork(const NetworkInfo &info);
-
- //! Update a network and propagate the changes to the clients.
- /** \param info The updated network settings.
- */
- void updateNetwork(const NetworkInfo &info);
-
- //! Remove identity and propagate that fact to the clients.
- /** \param identity The identity to be removed.
- */
- void removeNetwork(NetworkId network);
-
- //! Remove a buffer and it's backlog permanently
- /** \param bufferId The id of the buffer to be removed.
- * emits bufferRemoved(bufferId) on success.
- */
- void removeBufferRequested(BufferId bufferId);
-
- //! Rename a Buffer for a given network
- /* \param networkId The id of the network the buffer belongs to
- * \param newName The new name of the buffer
- * \param oldName The old name of the buffer
- * emits bufferRenamed(bufferId, newName) on success.
- */
- void renameBuffer(const NetworkId &networkId, const QString &newName, const QString &oldName);
-
-signals:
- void initialized();