qTox  Version: nightly | Commit: bc751c8e1cac455f9690654fcfe0f560d2d7dfdd
Public Member Functions | Public Attributes | List of all members
DhtServer Struct Reference

#include <dhtserver.h>

Collaboration diagram for DhtServer:
Collaboration graph

Public Member Functions

bool operator== (const DhtServer &other) const
 Compare equal operator. More...
 
bool operator!= (const DhtServer &other) const
 Compare not equal operator. More...
 

Public Attributes

bool statusUdp
 
bool statusTcp
 
QString ipv4
 
QString ipv6
 
QString maintainer
 
ToxPk publicKey
 
quint16 udpPort
 
std::vector< uint16_t > tcpPorts
 

Detailed Description

Definition at line 27 of file dhtserver.h.

Member Function Documentation

◆ operator!=()

bool DhtServer::operator!= ( const DhtServer other) const

Compare not equal operator.

Parameters
otherthe compared instance
Returns
true, if not equal; false otherwise

Definition at line 45 of file dhtserver.cpp.

◆ operator==()

bool DhtServer::operator== ( const DhtServer other) const

Compare equal operator.

Parameters
otherthe compared instance
Returns
true, if equal; false otherwise

Definition at line 27 of file dhtserver.cpp.

Member Data Documentation

◆ ipv4

QString DhtServer::ipv4

Definition at line 31 of file dhtserver.h.

◆ ipv6

QString DhtServer::ipv6

Definition at line 32 of file dhtserver.h.

◆ maintainer

QString DhtServer::maintainer

Definition at line 33 of file dhtserver.h.

◆ publicKey

ToxPk DhtServer::publicKey

Definition at line 34 of file dhtserver.h.

◆ statusTcp

bool DhtServer::statusTcp

Definition at line 30 of file dhtserver.h.

◆ statusUdp

bool DhtServer::statusUdp

Definition at line 29 of file dhtserver.h.

◆ tcpPorts

std::vector<uint16_t> DhtServer::tcpPorts

Definition at line 36 of file dhtserver.h.

◆ udpPort

quint16 DhtServer::udpPort

Definition at line 35 of file dhtserver.h.


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