#include "types.h"
class CoreSession;
-class RemoteConnection;
+class RemotePeer;
struct NetworkInfo;
class SessionThread;
class SignalProxy;
/** \note This method is threadsafe.
*/
void syncStorage();
- void setupInternalClientSession(InternalConnection *clientConnection);
+ void setupInternalClientSession(InternalPeer *clientConnection);
signals:
//! Sent when a BufferInfo is updated in storage.
static Core *instanceptr;
SessionThread *createSession(UserId userId, bool restoreState = false);
- void setupClientSession(RemoteConnection *connection, UserId uid);
- void addClientHelper(RemoteConnection *connection, UserId uid);
+ void setupClientSession(RemotePeer *peer, UserId uid);
+ void addClientHelper(RemotePeer *peer, UserId uid);
//void processCoreSetup(QTcpSocket *socket, QVariantMap &msg);
QString setupCoreForInternalUsage();
QString setupCore(QVariantMap setupData);
OidentdConfigGenerator *_oidentdConfigGenerator;
- QHash<RemoteConnection *, QVariantMap> clientInfo;
+ QHash<RemotePeer *, QVariantMap> clientInfo;
QHash<QString, Storage *> _storageBackends;