Q_OBJECT
public:
- CoreAuthHandler(QTcpSocket *socket, QObject *parent = 0);
+ CoreAuthHandler(QTcpSocket *socket, QObject *parent = nullptr);
signals:
void handshakeComplete(RemotePeer *peer, UserId uid);
private:
using AuthHandler::handle;
- void handle(const Protocol::RegisterClient &msg);
- void handle(const Protocol::SetupData &msg);
- void handle(const Protocol::Login &msg);
+ void handle(const Protocol::RegisterClient &msg) override;
+ void handle(const Protocol::SetupData &msg) override;
+ void handle(const Protocol::Login &msg) override;
void setPeer(RemotePeer *peer);
void startSsl();