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

The doorman filter remote control connections. More...

#include <doorman.hpp>

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

List of all members.

Public Slots

void newConnection ()
 called when a new client connects
void authentication (const RemoteEvent &)
 called when an authentication event is received
void answered (RemoteSock *, unsigned, bool, bool)
 called when the user answer through the dialog

Signals

void authenticatedRemote (RemoteSock *)
 emited when a client has successfully been authenticated
void needAuthorization (const RemoteEvent &)
 emited when user's approval is needed

Public Member Functions

 Doorman (QTcpServer *rcServer)
void loadKnownDevices ()
void storeKnownDevices ()

Detailed Description

The doorman filter remote control connections.

It uses white & black lists stored in the database, and ask the user for unknow devices. The devices will be identified by a unique key generated by the mobile application.

Definition at line 33 of file doorman.hpp.


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