X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fcore%2Fcoreauthhandler.h;h=db54bec19ae6927f7b0445dc2e237f870d5163b7;hb=df38a9238d603ec8d2040619befa50980d994916;hp=9a420af6d5a8e4da544819ba8a05a93bedf7042a;hpb=c1cf157116de7fc3da96203aa6f03c38c7ebb650;p=quassel.git diff --git a/src/core/coreauthhandler.h b/src/core/coreauthhandler.h index 9a420af6..db54bec1 100644 --- a/src/core/coreauthhandler.h +++ b/src/core/coreauthhandler.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2018 by the Quassel Project * + * Copyright (C) 2005-2020 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -22,7 +22,9 @@ #define COREAUTHHANDLER_H #include "authhandler.h" +#include "metricsserver.h" #include "peerfactory.h" +#include "proxyline.h" #include "remotepeer.h" #include "types.h" @@ -33,6 +35,9 @@ class CoreAuthHandler : public AuthHandler public: CoreAuthHandler(QTcpSocket* socket, QObject* parent = nullptr); + QHostAddress hostAddress() const; + bool isLocal() const override; + signals: void handshakeComplete(RemotePeer* peer, UserId uid); @@ -60,7 +65,11 @@ private slots: private: RemotePeer* _peer; + MetricsServer* _metricsServer; + bool _proxyReceived; + ProxyLine _proxyLine; + bool _useProxyLine; bool _magicReceived; bool _legacy; bool _clientRegistered;