MCPcopy Create free account
hub / github.com/MiniZinc/MiniZincIDE / Server

Method Server

MiniZincIDE/server.cpp:181–188  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

179}
180
181Server::Server(QObject *parent) :
182 QObject(parent),
183 http(new QTcpServer(this)),
184 ws(new QWebSocketServer("MiniZincIDE", QWebSocketServer::NonSecureMode, this))
185{
186 connect(http, &QTcpServer::newConnection, this, &Server::newHttpClient);
187 connect(ws, &QWebSocketServer::newConnection, this, &Server::newWebSocketClient);
188}
189
190Server::~Server()
191{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected