Add get_ip_filter() to session

This commit is contained in:
Andrew Resch
2009-07-21 01:52:37 +00:00
parent a3bacd736e
commit c401c65dfb
7 changed files with 27 additions and 1 deletions

View File

@@ -184,7 +184,8 @@ The ``session`` class has the following synopsis::
entry state() const;
void set_ip_filter(ip_filter const& f);
ip_filter const& get_ip_filter() const;
session_status status() const;
cache_status get_cache_status() const;
@@ -628,6 +629,14 @@ accepted and not, see ip_filter_.
Each time a peer is blocked because of the IP filter, a peer_blocked_alert_ is
generated.
get_ip_filter()
---------------
::
ip_filter const& get_ip_filter() const;
Returns the ip_filter currently in the session. See ip_filter_.
status()
--------