| Package | Description |
|---|---|
| net.i2p |
Core I2P package providing fundamental interfaces, version information, and entry points to essential I2P services.
|
| net.i2p.addressbook |
Address book application for fetching and maintaining I2P host
databases from subscription sources.
|
| net.i2p.client.naming |
Naming service for resolving human-readable names to I2P destinations,
providing a standard interface without JNDI complexity.
|
| net.i2p.router.naming |
The default naming service implementation for the I2P router, using the
BlockfileNamingService based on the Metanotion BlockFile Database.
|
| Modifier and Type | Method and Description |
|---|---|
NamingService |
I2PAppContext.namingService()
Pull up the naming service used in this context.
|
| 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.
|
| Constructor and Description |
|---|
HostChecker(NamingService namingService)
Construct a HostChecker for given naming service
|
| Modifier and Type | Class and Description |
|---|---|
class |
DummyNamingService
A Dummy naming service that can only handle base64 and b32 destinations.
|
class |
EepGetNamingService
A network-based naming service using HTTP, 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.
|
| Modifier and Type | Field and Description |
|---|---|
protected List<NamingService> |
MetaNamingService._services |
| Modifier and Type | Method and Description |
|---|---|
static NamingService |
NamingService.createInstance(I2PAppContext context)
WARNING - for use by I2PAppContext only - others must use
I2PAppContext.namingService()
Get a naming service instance.
|
NamingService |
NamingService.getParent()
This implementation returns null.
|
| Modifier and Type | Method and Description |
|---|---|
List<NamingService> |
MetaNamingService.getNamingServices() |
List<NamingService> |
NamingService.getNamingServices()
This implementation returns null.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
NamingService.addNamingService(NamingService ns)
Only for chaining-capable NamingServices.
|
boolean |
MetaNamingService.addNamingService(NamingService ns,
boolean head) |
boolean |
NamingService.addNamingService(NamingService ns,
boolean head)
Only for chaining-capable NamingServices.
|
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)
Called when a new naming service entry is added.
|
void |
NamingServiceListener.entryChanged(NamingService ns,
String hostname,
Destination dest,
Properties options)
Called when a naming service entry changes.
|
void |
NamingServiceListener.entryRemoved(NamingService ns,
String hostname) |
boolean |
MetaNamingService.removeNamingService(NamingService ns) |
boolean |
NamingService.removeNamingService(NamingService ns)
Only for chaining-capable NamingServices.
|
| Constructor and Description |
|---|
MetaNamingService(I2PAppContext context,
List<NamingService> services) |
| Modifier and Type | Class and Description |
|---|---|
class |
BlockfileNamingService
A naming service using the net.metanotion BlockFile database.
|