25 #include "../util/hash.h" 27 #include <QHostAddress> 52 const int aListenPort) ;
96 int port(
void)
const ;
152 const bool aIsInitialGreeting ) ;
void setLastConnectTime(const time_t aTime)
const Hash & nodeFingerPrint(void) const
QString * iTorAddr
Definition: node.h:168
int iListenPort
Definition: node.h:158
Node is a peer in network.
Definition: node.h:40
void setPort(const int aPort)
void setGoodNodeListTime(const time_t aTime)
void setIpv6Addr(const Q_IPV6ADDR &aAddr)
Node(const Hash &aNodeFingerPrint, const int aListenPort)
Q_IPV6ADDR iIPv6Addr
Definition: node.h:164
time_t iLastConnectTime
Definition: node.h:174
const Hash iNodeFingerPrint
Definition: node.h:156
time_t iTimeOfGoodNodeList
Definition: node.h:172
Hash is class that carries 160-bit digest.
Definition: hash.h:38
QString TORAddr(void) const
QString DNSAddr(void) const
quint32 iIPv4Addr
Definition: node.h:162
void setCanReceiveIncoming(const bool aYesItCan)
QVariant asQVariant() const
time_t goodNodeListTime(void) const
Q_IPV6ADDR ipv6Addr(void) const
time_t lastConnectTime(void) const
bool setIpAddrWithChecks(const QHostAddress &aAddress)
bool iCanReceiveIncoming
Definition: node.h:170
time_t lastMutualConnectTime(void) const
void setTORAddr(const QString &aAddr)
quint32 ipv4Addr(void) const
time_t iTimeOfLastContact
Definition: node.h:160
void setIpv4Addr(const quint32 aAddr)
bool canReceiveIncoming(void) const
void setDNSAddr(const QString &aAddr)
static Node * fromQVariant(const QVariantMap &aJSonAsQVariant, const bool aIsInitialGreeting)
QString * iDnsName
Definition: node.h:166
void setLastMutualConnectTime(const time_t aTime)
time_t iLastMutualConnectTime
Definition: node.h:176