defuze.me  Client
Public Slots | Signals | Public Member Functions
Network::NetworkCore Class Reference

This is the network wrapper, It manages every connections and protocols used in the application. More...

#include <networkcore.hpp>

Inheritance diagram for Network::NetworkCore:
Inheritance graph
[legend]
Collaboration diagram for Network::NetworkCore:
Collaboration graph
[legend]

List of all members.

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 ParserapiParser () const
 Return API parser.
QVariantList discoveryAddresses () const
QVariantMap getRadioInfo () const

Detailed Description

This is the network wrapper, It manages every connections and protocols used in the application.

Definition at line 37 of file networkcore.hpp.


Member Function Documentation

void NetworkCore::init ( Cores cores) [virtual]

Called once, after all CORES are loaded.

Parameters:
coresThe already loaded CORES.

Implements Core.

Definition at line 39 of file networkcore.cpp.


The documentation for this class was generated from the following files: