mirror of
https://github.com/QuasarApp/Heart.git
synced 2025-05-15 02:49:40 +00:00
simple fix
This commit is contained in:
parent
f0bfabbe17
commit
1e30103833
@ -367,6 +367,17 @@ public:
|
||||
*/
|
||||
int sheduledTaskCount() const;
|
||||
|
||||
/**
|
||||
* @brief badRequest This method is send data about error of request.
|
||||
* @param address This is addrees of receiver.
|
||||
* @param req This is header of incomming request.
|
||||
* @param err This is message and code of error. For more information see the ErrorData struct.
|
||||
* @param diff This is difference of current trust (currenTrus += diff).
|
||||
* By default diff equals REQUEST_ERROR
|
||||
*/
|
||||
virtual void badRequest(const HostAddress &address, const Header &req,
|
||||
const PKG::ErrorData& err, qint8 diff = REQUEST_ERROR);
|
||||
|
||||
#ifdef USE_HEART_SSL
|
||||
|
||||
/**
|
||||
@ -385,7 +396,6 @@ signals:
|
||||
*/
|
||||
void requestError(unsigned char code, QString msg);
|
||||
|
||||
|
||||
protected:
|
||||
|
||||
#ifdef USE_HEART_SSL
|
||||
@ -451,17 +461,6 @@ protected:
|
||||
*/
|
||||
virtual bool sendPackage(const Package &pkg, QAbstractSocket *target) const;
|
||||
|
||||
/**
|
||||
* @brief badRequest This method is send data about error of request.
|
||||
* @param address This is addrees of receiver.
|
||||
* @param req This is header of incomming request.
|
||||
* @param err This is message and code of error. For more information see the ErrorData struct.
|
||||
* @param diff This is difference of current trust (currenTrus += diff).
|
||||
* By default diff equals REQUEST_ERROR
|
||||
*/
|
||||
virtual void badRequest(const HostAddress &address, const Header &req,
|
||||
const PKG::ErrorData& err, qint8 diff = REQUEST_ERROR);
|
||||
|
||||
/**
|
||||
* @brief getWorkStateString This method generate string about work state of server.
|
||||
* @return string of work state.
|
||||
|
Loading…
x
Reference in New Issue
Block a user