defuze.me
Client
|
This is the network wrapper, It manages every connections and protocols used in the application. More...
#include <networkcore.hpp>
Public Slots | |
void | invalidateWebToken () |
Call to renew token (when getting 401) | |
Signals | |
void | newRemoteClient (RemoteSock *) |
emited on new remote connection | |
void | APIAuthenticated () |
Public Member Functions | |
NetworkCore (QStringList &arguments) | |
void | init (Cores *cores) |
Called once, after all CORES are loaded. | |
void | aboutToQuit () |
Called just before to quit, when CORES are still loaded. | |
const QString | name () |
void | initRCServer (unsigned short port) |
Initialize remote control server. | |
QNetworkAccessManager & | web () |
Return the HTTP connection pool. | |
QTcpServer & | remoteControl () |
Return the remote control tcp server. | |
QUdpSocket & | autoDiscovery () |
Return the auto discovery udp server. | |
QNetworkRequest | apiRequest (const QString &url) const |
Factory to generate API requests. | |
const Parser & | apiParser () const |
Return API parser. | |
QVariantList | discoveryAddresses () const |
QVariantMap | getRadioInfo () const |
This is the network wrapper, It manages every connections and protocols used in the application.
Definition at line 37 of file networkcore.hpp.
void NetworkCore::init | ( | Cores * | cores | ) | [virtual] |
Called once, after all CORES are loaded.
cores | The already loaded CORES. |
Implements Core.
Definition at line 39 of file networkcore.cpp.