Skip to content
Snippets Groups Projects
Commit 0b568bbf authored by Dmitriy A. Gerasimov's avatar Dmitriy A. Gerasimov
Browse files

[*] Updates

parent b4b1f8b6
No related branches found
No related tags found
No related merge requests found
Pipeline #1187 passed with stage
in 21 minutes and 14 seconds
......@@ -9,7 +9,7 @@ DapChainDashboardService::DapChainDashboardService() : DapRpcService(nullptr)
connect(m_pDapChainLogHandler, SIGNAL(onChangedLog()), SLOT(changedLogModel()));
m_pDapChainWalletHandler = new DapChainWalletHandler(this);
connect(this, &DapChainDashboardService::onNewClientConnected, [=] {
qDebug() << "New client";
qDebug() << "Frontend connected";
});
m_pDapChainNodeHandler = new DapChainNodeNetworkHandler(this);
......@@ -29,8 +29,8 @@ bool DapChainDashboardService::start()
{
qInfo() << "DapChainDashboardService::start()";
m_pSocketService = new DapUiSocketServer();
m_pServer = new DapUiService();
m_pServer->setSocketOptions(QLocalServer::WorldAccessOption );
if(m_pServer->listen(DAP_BRAND))
{
connect(m_pServer, SIGNAL(onClientConnected()), SIGNAL(onNewClientConnected()));
......
......@@ -32,7 +32,6 @@
#include <QLocalServer>
typedef class DapRpcLocalServer DapUiService;
typedef class QLocalServer DapUiSocketServer;
/**
* @brief The DapChainDashboardService class
......@@ -53,8 +52,6 @@ class DapChainDashboardService : public DapRpcService
Q_CLASSINFO("serviceName", "RPCServer")
/// Service core.
DapUiService * m_pServer {nullptr};
/// Socket of client connection with the service.
DapUiSocketServer * m_pSocketService {nullptr};
/// Recipient logs information
DapChainLogHandler * m_pDapChainLogHandler {nullptr};
/// Recipient wallet information
......
......@@ -5,7 +5,7 @@ After=network.target
[Service]
Type=forking
OOMScoreAdjust=-1000
PIDFile=/opt/cellframe-dashboard/CellFrameDashboardService.pid
#PIDFile=/opt/cellframe-dashboard/CellFrameDashboardService.pid
WorkingDirectory=/opt/cellframe-dashboard/
ExecStart=/opt/cellframe-dashboard/bin/CellFrameDashboardService -D
ExecStop=/opt/cellframe-dashboard/bin/CellFrameDashboardService --stop
......
Subproject commit ab606d8b0fda2218ea4ad760a424008319f76298
Subproject commit 96629d270265f9b75c8c289b7b2ab45ce8f75df3
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment