#include <cmd_handlers.h>
◆ ModelRequest()
ModelRequest::ModelRequest |
( |
QWebSocket * |
pClient, |
|
|
IWebSocketServer * |
pWebSocketServer, |
|
|
nlohmann::json & |
jsonRequest_ |
|
) |
| |
◆ client()
QWebSocket * ModelRequest::client |
( |
| ) |
|
◆ command()
std::string ModelRequest::command |
( |
| ) |
|
◆ getInputInteger()
int ModelRequest::getInputInteger |
( |
const std::string & |
sParamName, |
|
|
int |
defaultValue |
|
) |
| |
◆ getInputString()
std::string ModelRequest::getInputString |
( |
const std::string & |
sParamName, |
|
|
const std::string & |
sDefaultValue |
|
) |
| |
◆ getIpAddress()
std::string ModelRequest::getIpAddress |
( |
| ) |
|
◆ getUserSession()
◆ hasCommand()
bool ModelRequest::hasCommand |
( |
| ) |
|
◆ hasInputParam()
bool ModelRequest::hasInputParam |
( |
const std::string & |
sParamName | ) |
|
◆ hasM()
bool ModelRequest::hasM |
( |
| ) |
|
◆ isAdmin()
bool ModelRequest::isAdmin |
( |
| ) |
|
◆ isUnauthorized()
bool ModelRequest::isUnauthorized |
( |
| ) |
|
◆ isUser()
bool ModelRequest::isUser |
( |
| ) |
|
◆ jsonRequest()
const nlohmann::json & ModelRequest::jsonRequest |
( |
| ) |
|
◆ m()
std::string ModelRequest::m |
( |
| ) |
|
◆ sendMessageError()
void ModelRequest::sendMessageError |
( |
const std::string & |
cmd, |
|
|
WsjcppError |
error |
|
) |
| |
◆ sendMessageSuccess()
void ModelRequest::sendMessageSuccess |
( |
const std::string & |
cmd, |
|
|
nlohmann::json & |
jsonResponse |
|
) |
| |
◆ sendResponse()
void ModelRequest::sendResponse |
( |
nlohmann::json & |
jsonResult | ) |
|
◆ server()
◆ m_jsonRequest
nlohmann::json ModelRequest::m_jsonRequest |
|
private |
◆ m_pClient
QWebSocket* ModelRequest::m_pClient |
|
private |
◆ m_pServer
◆ m_pWsjcppUserSession
◆ m_sCommand
std::string ModelRequest::m_sCommand |
|
private |
◆ m_sMessageId
std::string ModelRequest::m_sMessageId |
|
private |
◆ TAG
std::string ModelRequest::TAG |
|
private |
The documentation for this class was generated from the following files: