llarp::dht::RecursiveRouterLookup
Inherits from llarp::dht::TX< RouterID, RouterContact >
Inherited by llarp::dht::LocalRouterLookup
Public Functions
| Name | |
|---|---|
| RecursiveRouterLookup(const TXOwner & whoasked, const RouterID & target, AbstractContext * ctx, RouterLookupHandler result) | |
| virtual bool | Validate(const RouterContact & rc) const override |
| virtual void | Start(const TXOwner & peer) override |
| virtual void | SendReply() override |
Public Attributes
| Name | |
|---|---|
| RouterLookupHandler | resultHandler |
Additional inherited members
Public Functions inherited from llarp::dht::TX< RouterID, RouterContact >
| Name | |
|---|---|
| TX(const TXOwner & asker, const K & k, AbstractContext * p) | |
| virtual | ~TX() =default |
| void | OnFound(const Key_t & askedPeer, const V & value) |
Public Attributes inherited from llarp::dht::TX< RouterID, RouterContact >
| Name | |
|---|---|
| K | target |
| AbstractContext * | parent |
| std::set< Key_t > | peersAsked |
| std::vector< V > | valuesFound |
| TXOwner | whoasked |
Public Functions Documentation
function RecursiveRouterLookup
RecursiveRouterLookup(
const TXOwner & whoasked,
const RouterID & target,
AbstractContext * ctx,
RouterLookupHandler result
)
function Validate
virtual bool Validate(
const RouterContact & rc
) const override
Reimplements: llarp::dht::TX::Validate
function Start
virtual void Start(
const TXOwner & peer
) override
Reimplements: llarp::dht::TX::Start
function SendReply
virtual void SendReply() override
Reimplements: llarp::dht::TX::SendReply
Public Attributes Documentation
variable resultHandler
RouterLookupHandler resultHandler;
Updated on 2026-01-10 at 22:49:45 +0000