Packages that use NamingService
Package
Description
The SusiDNS webapp, which is the user interface for the addressbook application and the local naming service (hosts database) implemented in
net.i2p.client.naming. Core I2P package providing fundamental interfaces, version information, and entry points to essential I2P services, centered on I2PAppContext.
Address book application for fetching and maintaining I2P host databases from subscription sources.
Naming service for resolving human-readable names (such as ident.i2p) into I2P destinations, providing a standard interface without JNDI complexity.
The router's default naming service, BlockfileNamingService, backed by the Metanotion BlockFile database (
net.metanotion) in hostsdb.dat. The Kademlia distributed hash table (DHT) network database: lookup, store and explore jobs, the data store, the floodfill variants, and lookup throttling.
Uses of NamingService in i2p.susi.dns
Methods in i2p.susi.dns that return NamingServiceModifier and TypeMethodDescriptionprivate NamingServiceNamingServiceBean.getNamingService()Get the NamingService for the current file name, or the root NamingService.private static NamingServiceNamingServiceBean.searchNamingService(NamingService ns, String srch) Perform a depth-first search for a naming service by name.Methods in i2p.susi.dns with parameters of type NamingServiceModifier and TypeMethodDescriptionprivate static NamingServiceNamingServiceBean.searchNamingService(NamingService ns, String srch) Perform a depth-first search for a naming service by name.Uses of NamingService in net.i2p
Fields in net.i2p declared as NamingServiceModifier and TypeFieldDescriptionprivate NamingServiceI2PAppContext._namingServiceThe context's naming service, created on demand.Methods in net.i2p that return NamingServiceModifier and TypeMethodDescriptionI2PAppContext.namingService()Pull up the naming service used in this context.Uses of NamingService in net.i2p.addressbook
Fields in net.i2p.addressbook declared as NamingServiceModifier and TypeFieldDescriptionprivate final NamingServiceHostChecker._namingServiceNaming service holding the hosts to check.private final NamingServiceHostPing._namingServiceResolver of the local destination names.Methods in net.i2p.addressbook that return NamingServiceModifier and TypeMethodDescriptionprivate static NamingServiceDaemon.getNamingService(String srch) Find the configured NamingService, or return the root.private static NamingServiceDaemon.searchNamingService(NamingService ns, String srch) Depth-first search of the naming service tree.Methods in net.i2p.addressbook with parameters of type NamingServiceModifier and TypeMethodDescriptionprivate static NamingServiceDaemon.searchNamingService(NamingService ns, String srch) Depth-first search of the naming service tree.static voidDaemon.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.private static voidDaemon.update(NamingService router, Set<String> knownNames, NamingService publishedNS, AddressBook addressbook, Iterator<Map.Entry<String, HostTxtEntry>> iter, Log log) Add, update or remove subscriptions in the router naming service.Constructors in net.i2p.addressbook with parameters of type NamingServiceModifierConstructorDescriptionHostChecker(NamingService namingService) Construct a HostChecker for given naming service.Uses of NamingService in net.i2p.client.naming
Subclasses of NamingService in net.i2p.client.namingModifier and TypeClassDescriptionclassA Dummy naming service that can only handle base64 and b32 destinations.classA network-based naming service using HTTP, with in-memory caching.classA naming service based on multiple "hosts.txt" files.classA naming service of multiple naming services.classA naming service based on a single file using the "hosts.txt" format.Fields in net.i2p.client.naming with type parameters of type NamingServiceModifier and TypeFieldDescriptionprotected final List<NamingService> MetaNamingService._servicesChained naming services, in order.Methods in net.i2p.client.naming that return NamingServiceModifier and TypeMethodDescriptionstatic final NamingServiceNamingService.createInstance(I2PAppContext context) WARNING - for use byI2PAppContextonly - others must useI2PAppContext.namingService().NamingService.getParent()This implementation returns null.Methods in net.i2p.client.naming that return types with arguments of type NamingServiceModifier and TypeMethodDescriptionMetaNamingService.getNamingServices()NamingService.getNamingServices()For daisy chaining (MetaNamingService).Methods in net.i2p.client.naming with parameters of type NamingServiceModifier and TypeMethodDescriptionfinal booleanMetaNamingService.addNamingService(NamingService ns, boolean head) booleanNamingService.addNamingService(NamingService ns) Only for chaining-capable NamingServices.booleanNamingService.addNamingService(NamingService ns, boolean head) Only for chaining-capable NamingServices.voidNamingServiceListener.configurationChanged(NamingService ns) Also called when a NamingService is added or removed.voidNamingServiceListener.entryAdded(NamingService ns, String hostname, Destination dest, Properties options) Called when a new naming service entry is added.voidNamingServiceListener.entryChanged(NamingService ns, String hostname, Destination dest, Properties options) Called when a naming service entry changes.voidNamingServiceListener.entryRemoved(NamingService ns, String hostname) Called when a naming service entry is removed.booleanMetaNamingService.removeNamingService(NamingService ns) booleanNamingService.removeNamingService(NamingService ns) Only for chaining-capable NamingServices.Constructor parameters in net.i2p.client.naming with type arguments of type NamingServiceModifierConstructorDescriptionMetaNamingService(I2PAppContext context, List<NamingService> services) Create a new meta naming service with the specified services.Uses of NamingService in net.i2p.router.naming
Subclasses of NamingService in net.i2p.router.namingModifier and TypeClassDescriptionclassA naming service using the net.metanotion BlockFile database.Uses of NamingService in net.i2p.router.networkdb.kademlia
Methods in net.i2p.router.networkdb.kademlia with parameters of type NamingServiceModifier and TypeMethodDescriptionprivate static StringKademliaNetworkDatabaseFacade.logName(NamingService ns, Hash key) Best-effort display name for a tracked LeaseSet in logs: the registered hostname when available, otherwise a truncated base32.private booleanKademliaNetworkDatabaseFacade.proactivelyRefreshIfExpiring(Hash key, long now, NamingService ns) Refresh a tracked LeaseSet early when it is about to expire.