---
title: llarp::dht::LocalServiceAddressLookup

---

# llarp::dht::LocalServiceAddressLookup





Inherits from [llarp::dht::ServiceAddressLookup](Classes/structllarp_1_1dht_1_1ServiceAddressLookup.md), [llarp::dht::TX< TXOwner, service::EncryptedIntroSet >](Classes/structllarp_1_1dht_1_1TX.md)

## Public Functions

|                | Name           |
| -------------- | -------------- |
| | **[LocalServiceAddressLookup](Classes/structllarp_1_1dht_1_1LocalServiceAddressLookup.md#function-localserviceaddresslookup)**(const [PathID_t](Classes/structllarp_1_1PathID__t.md) & pathid, uint64_t txid, uint64_t relayOrder, const [Key_t](Classes/structllarp_1_1dht_1_1Key__t.md) & addr, [AbstractContext](Classes/structllarp_1_1dht_1_1AbstractContext.md) * ctx, ] const [Key_t](Classes/structllarp_1_1dht_1_1Key__t.md) & askpeer) |
| virtual void | **[SendReply](Classes/structllarp_1_1dht_1_1LocalServiceAddressLookup.md#function-sendreply)**() override |

## Public Attributes

|                | Name           |
| -------------- | -------------- |
| [PathID_t](Classes/structllarp_1_1PathID__t.md) | **[localPath](Classes/structllarp_1_1dht_1_1LocalServiceAddressLookup.md#variable-localpath)**  |

## Additional inherited members

**Public Functions inherited from [llarp::dht::ServiceAddressLookup](Classes/structllarp_1_1dht_1_1ServiceAddressLookup.md)**

|                | Name           |
| -------------- | -------------- |
| | **[ServiceAddressLookup](Classes/structllarp_1_1dht_1_1ServiceAddressLookup.md#function-serviceaddresslookup)**(const [TXOwner](Classes/structllarp_1_1dht_1_1TXOwner.md) & asker, const [Key_t](Classes/structllarp_1_1dht_1_1Key__t.md) & addr, [AbstractContext](Classes/structllarp_1_1dht_1_1AbstractContext.md) * ctx, uint32_t relayOrder, service::EncryptedIntroSetLookupHandler handler) |
| virtual bool | **[Validate](Classes/structllarp_1_1dht_1_1ServiceAddressLookup.md#function-validate)**(const [service::EncryptedIntroSet](Classes/structllarp_1_1service_1_1EncryptedIntroSet.md) & value) const override |
| virtual void | **[Start](Classes/structllarp_1_1dht_1_1ServiceAddressLookup.md#function-start)**(const [TXOwner](Classes/structllarp_1_1dht_1_1TXOwner.md) & peer) override |

**Public Attributes inherited from [llarp::dht::ServiceAddressLookup](Classes/structllarp_1_1dht_1_1ServiceAddressLookup.md)**

|                | Name           |
| -------------- | -------------- |
| [Key_t](Classes/structllarp_1_1dht_1_1Key__t.md) | **[location](Classes/structllarp_1_1dht_1_1ServiceAddressLookup.md#variable-location)**  |
| service::EncryptedIntroSetLookupHandler | **[handleResult](Classes/structllarp_1_1dht_1_1ServiceAddressLookup.md#variable-handleresult)**  |
| uint32_t | **[relayOrder](Classes/structllarp_1_1dht_1_1ServiceAddressLookup.md#variable-relayorder)**  |

**Public Functions inherited from [llarp::dht::TX< TXOwner, service::EncryptedIntroSet >](Classes/structllarp_1_1dht_1_1TX.md)**

|                | Name           |
| -------------- | -------------- |
| | **[TX](Classes/structllarp_1_1dht_1_1TX.md#function-tx)**(const [TXOwner](Classes/structllarp_1_1dht_1_1TXOwner.md) & asker, const K & k, [AbstractContext](Classes/structllarp_1_1dht_1_1AbstractContext.md) * p) |
| virtual | **[~TX](Classes/structllarp_1_1dht_1_1TX.md#function-~tx)**() =default |
| void | **[OnFound](Classes/structllarp_1_1dht_1_1TX.md#function-onfound)**(const [Key_t](Classes/structllarp_1_1dht_1_1Key__t.md) & askedPeer, const V & value) |
| util::StatusObject | **[ExtractStatus](Classes/structllarp_1_1dht_1_1TX.md#function-extractstatus)**() const |
| virtual bool | **[Validate](Classes/structllarp_1_1dht_1_1TX.md#function-validate)**(const V & value) const =0 |
| virtual void | **[Start](Classes/structllarp_1_1dht_1_1TX.md#function-start)**(const [TXOwner](Classes/structllarp_1_1dht_1_1TXOwner.md) & peer) =0 |

**Public Attributes inherited from [llarp::dht::TX< TXOwner, service::EncryptedIntroSet >](Classes/structllarp_1_1dht_1_1TX.md)**

|                | Name           |
| -------------- | -------------- |
| K | **[target](Classes/structllarp_1_1dht_1_1TX.md#variable-target)**  |
| [AbstractContext](Classes/structllarp_1_1dht_1_1AbstractContext.md) * | **[parent](Classes/structllarp_1_1dht_1_1TX.md#variable-parent)**  |
| std::set< [Key_t](Classes/structllarp_1_1dht_1_1Key__t.md) > | **[peersAsked](Classes/structllarp_1_1dht_1_1TX.md#variable-peersasked)**  |
| std::vector< V > | **[valuesFound](Classes/structllarp_1_1dht_1_1TX.md#variable-valuesfound)**  |
| [TXOwner](Classes/structllarp_1_1dht_1_1TXOwner.md) | **[whoasked](Classes/structllarp_1_1dht_1_1TX.md#variable-whoasked)**  |


## Public Functions Documentation

### function LocalServiceAddressLookup

```cpp
LocalServiceAddressLookup(
    const PathID_t & pathid,
    uint64_t txid,
    uint64_t relayOrder,
    const Key_t & addr,
    AbstractContext * ctx,
    ] const Key_t & askpeer
)
```


### function SendReply

```cpp
virtual void SendReply() override
```


**Reimplements**: [llarp::dht::TX::SendReply](Classes/structllarp_1_1dht_1_1TX.md#function-sendreply)


## Public Attributes Documentation

### variable localPath

```cpp
PathID_t localPath;
```


-------------------------------

Updated on 2022-11-17 at 22:27:41 +0000