libktorrent  2.2.0
Public Member Functions | List of all members
bt::BlockListInterface Class Referenceabstract

Base class for BlockLists. More...

#include <blocklistinterface.h>

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

Public Member Functions

virtual bool blocked (const net::Address &addr) const =0
 

Detailed Description

Author
Ivan Vasic

Definition at line 39 of file blocklistinterface.h.

Member Function Documentation

◆ blocked()

virtual bool bt::BlockListInterface::blocked ( const net::Address addr) const
pure virtual

This function checks if IP is blocked

Returns
TRUE if IP should be blocked. FALSE otherwise
  • addr Address of the peer

Implemented in bt::BadPeersList.


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