![]() |
Qt 6.x
The Qt SDK
|
Inheritance diagram for V4CommandHandler:
Collaboration diagram for V4CommandHandler:Public Member Functions | |
| V4CommandHandler (const QString &command) | |
| virtual | ~V4CommandHandler () |
| QString | command () const |
| void | handle (const QJsonObject &request, QV4DebugServiceImpl *s) |
| virtual void | handleRequest ()=0 |
Protected Member Functions | |
| void | addCommand () |
| void | addRequestSequence () |
| void | addSuccess (bool success) |
| void | addBody (const QJsonValue &body) |
| void | addRunning () |
| void | createErrorResponse (const QString &msg) |
| int | requestSequenceNr () const |
Protected Attributes | |
| QString | cmd |
| QJsonObject | req |
| QJsonValue | seq |
| QV4DebugServiceImpl * | debugService |
| QJsonObject | response |
Definition at line 40 of file qv4debugservice.cpp.
|
inline |
Definition at line 43 of file qv4debugservice.cpp.
|
inlinevirtual |
Definition at line 47 of file qv4debugservice.cpp.
|
inlineprotected |
Definition at line 78 of file qv4debugservice.cpp.
References QJsonObject::insert(), QStringLiteral, and response.
Here is the call graph for this function:
|
inlineprotected |
Definition at line 75 of file qv4debugservice.cpp.
References cmd, QJsonObject::insert(), QStringLiteral, and response.
Here is the call graph for this function:
|
inlineprotected |
Definition at line 76 of file qv4debugservice.cpp.
References QJsonObject::insert(), QStringLiteral, response, and seq.
Referenced by createErrorResponse().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlineprotected |
Definition at line 83 of file qv4debugservice.cpp.
References QV4DebugServiceImpl::debuggerAgent, debugService, QJsonObject::insert(), QV4DebuggerAgent::isRunning(), QStringLiteral, and response.
Referenced by createErrorResponse().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlineprotected |
Definition at line 77 of file qv4debugservice.cpp.
References QJsonObject::insert(), QStringLiteral, and response.
Referenced by createErrorResponse().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 50 of file qv4debugservice.cpp.
References cmd.
Referenced by createErrorResponse(), and handle().
Here is the caller graph for this function:Definition at line 88 of file qv4debugservice.cpp.
References addRequestSequence(), addRunning(), addSuccess(), command(), QJsonObject::insert(), QStringLiteral, req, response, and QJsonObject::value().
Referenced by UnknownV4CommandHandler::handleRequest().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 52 of file qv4debugservice.cpp.
References command(), debugService, handleRequest(), QJsonObject::isEmpty(), qDebug, QStringLiteral, req, request, response, QV4DebugServiceImpl::send(), seq, TRACE_PROTOCOL, and QJsonObject::value().
Here is the call graph for this function:
|
pure virtual |
Implemented in UnknownV4CommandHandler.
Referenced by handle().
Here is the caller graph for this function:
|
inlineprotected |
Definition at line 98 of file qv4debugservice.cpp.
References seq, and QJsonValue::toInt().
Here is the call graph for this function:
|
protected |
Definition at line 102 of file qv4debugservice.cpp.
Referenced by addCommand(), and command().
|
protected |
Definition at line 105 of file qv4debugservice.cpp.
Referenced by addRunning(), and handle().
|
protected |
Definition at line 103 of file qv4debugservice.cpp.
Referenced by createErrorResponse(), handle(), and UnknownV4CommandHandler::handleRequest().
|
protected |
Definition at line 106 of file qv4debugservice.cpp.
Referenced by addBody(), addCommand(), addRequestSequence(), addRunning(), addSuccess(), createErrorResponse(), and handle().
|
protected |
Definition at line 104 of file qv4debugservice.cpp.
Referenced by addRequestSequence(), handle(), and requestSequenceNr().