libktorrent  2.1.1
Public Member Functions | List of all members
bt::UPnPRouter::Visitor Class Referenceabstract

#include <upnprouter.h>

Public Member Functions

virtual void forwarding (const net::Port &port, bool pending, const UPnPService *service)=0
 

Detailed Description

In order to iterate over all forwardings, the visitor pattern must be used.

Definition at line 166 of file upnprouter.h.

Member Function Documentation

◆ forwarding()

virtual void bt::UPnPRouter::Visitor::forwarding ( const net::Port &  port,
bool  pending,
const UPnPService *  service 
)
pure virtual

Called for each forwarding.

Parameters
portThe Port
pendingWhen set to true, the forwarding is not completed yet
serviceThe UPnPService this forwarding is for

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