#include "serverdiscovery.h"
|
void | serverDetected (const QString &host, const quint16 port, const QByteArray &sessionName, const QByteArray &certHash, bool autoConnect) |
|
void | error (ErrorType e, int count) |
|
Definition at line 9 of file serverdiscovery.h.
ServerDiscovery::ServerDiscovery |
( |
QObject * |
parent = nullptr | ) |
|
|
explicit |
ServerDiscovery::~ServerDiscovery |
( |
| ) |
|
|
overridedefault |
void ServerDiscovery::doDiscovery |
( |
| ) |
|
|
privateslot |
void ServerDiscovery::error |
( |
ErrorType |
e, |
|
|
int |
count |
|
) |
| |
|
signal |
bool ServerDiscovery::isActive |
( |
| ) |
|
|
inline |
void ServerDiscovery::onUdpReadyRead |
( |
| ) |
|
|
privateslot |
void ServerDiscovery::serverDetected |
( |
const QString & |
host, |
|
|
const quint16 |
port, |
|
|
const QByteArray & |
sessionName, |
|
|
const QByteArray & |
certHash, |
|
|
bool |
autoConnect |
|
) |
| |
|
signal |
void ServerDiscovery::start |
( |
const QByteArray & |
sessionName, |
|
|
const QString & |
mgrIP |
|
) |
| |
void ServerDiscovery::stop |
( |
| ) |
|
QUdpSocket ServerDiscovery::_discoverySocket |
|
private |
QTimer ServerDiscovery::_discoveryTimer |
|
private |
int ServerDiscovery::_hashErrorCount |
|
private |
int ServerDiscovery::_ipErrorCount |
|
private |
const int ServerDiscovery::_maxDiscoveryInterval |
|
private |
QHostAddress ServerDiscovery::_mgrIP |
|
private |
const int ServerDiscovery::_minDiscoveryInterval |
|
private |
QByteArray ServerDiscovery::_nameBytes |
|
private |
QByteArray ServerDiscovery::_salt2 |
|
private |
const int ServerDiscovery::SALT_LEN = 18 |
|
staticprivate |
const int ServerDiscovery::UDPBUFSIZ = 9000 |
|
staticprivate |
The documentation for this class was generated from the following files: