public:
CoreSession(UserId, bool restoreState, bool strictIdentEnabled, QObject *parent = 0);
- ~CoreSession();
QList<BufferInfo> buffers() const;
inline UserId user() const { return _user; }
void addClient(RemotePeer *peer);
void addClient(InternalPeer *peer);
+ /**
+ * Shuts down the session and deletes itself afterwards.
+ */
+ void shutdown();
+
void msgFromClient(BufferInfo, QString message);
//! Create an identity and propagate the changes to the clients.