#include <utpex.h>
|
| UTPex (Peer *peer, Uint32 id) |
|
void | changeID (Uint32 nid) |
| Change the ID used in the extended packets.
|
|
void | handlePacket (const Uint8 *packet, Uint32 size) override |
|
bool | needsUpdate () const override |
| Do we need to update PEX (should happen every minute)
|
|
void | update () override |
| Send a new PEX packet to the Peer.
|
|
| PeerProtocolExtension (bt::Uint32 id, Peer *peer) |
|
void | changeID (Uint32 id) |
| Change the ID.
|
|
void | sendPacket (const QByteArray &data) |
| Send an extension protocol packet.
|
|
|
static bool | isEnabled () |
| Is PEX enabled globally.
|
|
static void | setEnabled (bool on) |
| Globally disable or enabled PEX.
|
|
|
bt::Uint32 | id |
|
Peer * | peer |
|
- Author
- Joris Guisson joris.nosp@m..gui.nosp@m.sson@.nosp@m.gmai.nosp@m.l.com
Class which handles µTorrent's peer exchange
Definition at line 58 of file utpex.h.
◆ handlePacket()
void bt::UTPex::handlePacket |
( |
const Uint8 * |
packet, |
|
|
Uint32 |
size |
|
) |
| |
|
overridevirtual |
The documentation for this class was generated from the following file: