|
| static void | addPeerManager (PeerManager *pman) |
| |
| static QStringList | bindAddresses () |
| |
| static void | disableEncryption () |
| |
| static void | enableEncryption (bool allow_unencrypted) |
| |
| static bool | findInfoHash (const SHA1Hash &skey, SHA1Hash &info_hash) |
| |
| static PeerManager * | findPeerManager (const SHA1Hash &hash) |
| |
|
static Uint16 | getPort () |
| | Get the port in use.
|
| |
|
static bool | isEncryptionEnabled () |
| |
|
static bool | isUtpEnabled () |
| |
|
static bool | onlyUseUtp () |
| |
|
static TransportProtocol | primaryTransportProtocol () |
| |
| static void | removePeerManager (PeerManager *pman) |
| |
|
static void | setPort (Uint16 p) |
| | Set the port to use.
|
| |
|
static void | setPrimaryTransportProtocol (TransportProtocol proto) |
| |
|
static void | setUtpEnabled (bool on, bool only_use_utp) |
| |
|
static bool | unencryptedConnectionsAllowed () |
| |
|
void | newConnection (mse::EncryptedPacketSocket::Ptr sock) |
| |
|
static bool | allow_unencrypted |
| |
|
static bool | encryption |
| |
|
static bool | only_use_utp |
| |
|
static QList< PeerManager * > | peer_managers |
| |
|
static Uint16 | port |
| |
|
static TransportProtocol | primary_transport_protocol |
| |
|
static bool | utp_enabled |
| |
- Author
- Joris Guisson
Class which listens for incoming connections. Handles authentication and then hands of the new connections to a PeerManager.
All PeerManager's should register with this class when they are created and should unregister when they are destroyed.
Definition at line 63 of file server.h.