This is primarily needed for ClientAuthHandler, which does not want
to throw error messages to the outside during protocol detection.
void setSocket(QTcpSocket *socket);
protected slots:
void setSocket(QTcpSocket *socket);
protected slots:
- void onSocketError(QAbstractSocket::SocketError error);
- void onSocketDisconnected();
+ virtual void onSocketError(QAbstractSocket::SocketError error);
+ virtual void onSocketDisconnected();
private:
void invalidMessage();
private:
void invalidMessage();