libktorrent  2.2.0
Public Member Functions | Static Public Member Functions | List of all members
bt::AuthenticationMonitor Class Reference

#include <authenticationmonitor.h>

Inheritance diagram for bt::AuthenticationMonitor:
Inheritance graph
[legend]

Public Member Functions

void add (AuthenticateBase *s)
 
void clear ()
 
void remove (AuthenticateBase *s)
 
void shutdown ()
 
void update ()
 
- Public Member Functions inherited from net::Poll
int add (int fd, Mode mode)
 Add a file descriptor to the poll (returns the index of it)
 
int add (PollClient::Ptr pc)
 Add a poll client.
 
int poll (int timeout=-1)
 Poll all sockets.
 
bool ready (int index, Mode mode) const
 Check if a socket at an index is read.
 
void reset ()
 Reset the poll.
 

Static Public Member Functions

static AuthenticationMonitorinstance ()
 

Additional Inherited Members

- Public Types inherited from net::Poll
enum  Mode { INPUT, OUTPUT }
 

Detailed Description

Author
Joris Guisson joris.nosp@m..gui.nosp@m.sson@.nosp@m.gmai.nosp@m.l.com

Monitors ongoing authentication attempts. This class is a singleton.

Definition at line 38 of file authenticationmonitor.h.

Member Function Documentation

◆ add()

void bt::AuthenticationMonitor::add ( AuthenticateBase s)

Add a new AuthenticateBase object.

Parameters
s

◆ clear()

void bt::AuthenticationMonitor::clear ( )

Clear all AuthenticateBase objects, also delets them

◆ remove()

void bt::AuthenticationMonitor::remove ( AuthenticateBase s)

Remove an AuthenticateBase object

Parameters
s

◆ shutdown()

void bt::AuthenticationMonitor::shutdown ( )

Shutdown the authentication manager

◆ update()

void bt::AuthenticationMonitor::update ( )

Check all AuthenticateBase objects.


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