## Uses of Class
net.i2p.client.naming.NamingService

- Packages that use NamingService
  Package | Description
  --- | ---
  net.i2p | Core I2P package, contains information about the I2P version and an entry point to access important elements.
  net.i2p.addressbook |
  net.i2p.client.naming | Provides a standard way for querying the local naming service to resolve a name into a `Destination` (without the complexity of JNDI).

- - ### Uses of NamingService in net.i2p

    Methods in net.i2p that return NamingService
    Modifier and Type | Method and Description
    --- | ---
    `NamingService` | I2PAppContext.`namingService()` Pull up the naming service used in this context.

  - ### Uses of NamingService in net.i2p.addressbook

    Methods in net.i2p.addressbook with parameters of type NamingService
    Modifier and Type | Method and Description
    --- | ---
    `static void` | Daemon.`update(NamingService router, File published, SubscriptionList subscriptions, Log log)` Update the router and published address books using remote data from the subscribed address books listed in subscriptions.

  - ### Uses of NamingService in net.i2p.client.naming

    Subclasses of NamingService in net.i2p.client.naming
    Modifier and Type | Class and Description
    --- | ---
    `class` | `BlockfileNamingService` A naming service using the net.metanotion BlockFile database.
    `(package private) class` | `DummyNamingService` A Dummy naming service that can only handle base64 and b32 destinations.
    `class` | `EepGetAndAddNamingService` Deprecated. use HostsTxtNamingService.put()
    `class` | `EepGetNamingService` A network-based naming service using HTTP, with in-memory caching.
    `class` | `ExecNamingService` An interface to an external naming service program, with in-memory caching.
    `class` | `HostsTxtNamingService` A naming service based on multiple "hosts.txt" files.
    `class` | `MetaNamingService` A naming service of multiple naming services.
    `class` | `SingleFileNamingService` A naming service based on a single file using the "hosts.txt" format.

    Fields in net.i2p.client.naming with type parameters of type NamingService
    Modifier and Type | Field and Description
    --- | ---
    `protected List<NamingService>` | MetaNamingService.`_services`

    Methods in net.i2p.client.naming that return NamingService
    Modifier and Type | Method and Description
    --- | ---
    `static NamingService` | NamingService.`createInstance(I2PAppContext context)` Get a naming service instance.
    `NamingService` | NamingService.`getParent()`

    Methods in net.i2p.client.naming that return types with arguments of type NamingService
    Modifier and Type | Method and Description
    --- | ---
    `List<NamingService>` | NamingService.`getNamingServices()`
    `List<NamingService>` | MetaNamingService.`getNamingServices()`

    Methods in net.i2p.client.naming with parameters of type NamingService
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | NamingService.`addNamingService(NamingService ns)` Only for chaining-capable NamingServices.
    `boolean` | NamingService.`addNamingService(NamingService ns, boolean head)` Only for chaining-capable NamingServices
    `boolean` | MetaNamingService.`addNamingService(NamingService ns, boolean head)`
    `void` | NamingServiceListener.`configurationChanged(NamingService ns)` also called when a NamingService is added or removed
    `void` | NamingServiceListener.`entryAdded(NamingService ns, String hostname, Destination dest, Properties options)`
    `void` | NamingServiceListener.`entryChanged(NamingService ns, String hostname, Destination dest, Properties options)`
    `void` | NamingServiceListener.`entryRemoved(NamingService ns, String hostname)`
    `boolean` | NamingService.`removeNamingService(NamingService ns)` Only for chaining-capable NamingServices
    `boolean` | MetaNamingService.`removeNamingService(NamingService ns)`

    Constructor parameters in net.i2p.client.naming with type arguments of type NamingService
    Constructor and Description
    `MetaNamingService(I2PAppContext context, List<NamingService> services)`