|
libktorrent
2.1.1
|
#include <peerconnector.h>

Public Types | |
| enum | Method { TCP_WITH_ENCRYPTION, TCP_WITHOUT_ENCRYPTION, UTP_WITH_ENCRYPTION, UTP_WITHOUT_ENCRYPTION } |
| typedef QSharedPointer< PeerConnector > | Ptr |
| typedef QWeakPointer< PeerConnector > | WPtr |
Public Types inherited from bt::Resource | |
| typedef QList< Resource * > | List |
| typedef QSet< Resource * > | Set |
Public Member Functions | |
| PeerConnector (const net::Address &addr, bool local, PeerManager *pman, ConnectionLimit::Token::Ptr token) | |
| void | authenticationFinished (bt::Authenticate *auth, bool ok) |
| Called when an authentication attempt is finished. | |
| void | setWeakPointer (WPtr ptr) |
| Set a weak pointer to this object. | |
| void | start () |
| Start connecting. | |
Public Member Functions inherited from bt::Resource | |
| Resource (ResourceManager *rman, const QString &group) | |
| QString | groupName () const |
| Get the name of the group the resource is part of. | |
| void | release () |
| Release the Resource. | |
Static Public Member Functions | |
| static void | setMaxActive (Uint32 mc) |
Class which connects to a peer.
Definition at line 66 of file peerconnector.h.
|
static |
Set the maximum number of active PeerConnectors allowed
1.8.18