Package | Description |
---|---|
net.i2p |
Core I2P package, contains information about the I2P version and an entry point to access important elements.
|
net.i2p.addressbook |
The addressbook application, which fetches hosts.txt files from subscription URLs via
HTTP and adds new hosts to the local database.
|
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). |
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.
|
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 |
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) |
void |
NamingServiceListener.entryChanged(NamingService ns,
String hostname,
Destination dest,
Properties options) |
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) |