libktorrent  2.1.1
Public Member Functions | Friends | List of all members
bt::PeerID Class Reference

#include <peerid.h>

Public Member Functions

 PeerID (const char *pid)
 
 PeerID (const PeerID &pid)
 
const char * data () const
 
QString identifyClient () const
 
PeerIDoperator= (const PeerID &pid)
 
QString toString () const
 

Friends

bool operator!= (const PeerID &a, const PeerID &b)
 
bool operator< (const PeerID &a, const PeerID &b)
 
bool operator== (const PeerID &a, const PeerID &b)
 

Detailed Description

Author
Joris Guisson

Definition at line 50 of file peerid.h.

Member Function Documentation

◆ identifyClient()

QString bt::PeerID::identifyClient ( ) const

Interprets the PeerID to figure out which client it is.

Author
Ivan + Joris
Returns
The name of the client

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