Package | Description |
---|---|
net.i2p.data |
These classes define the common data structures used by the various
I2P protocols.
|
net.i2p.data.i2np |
This package defines the low-level messages sent between routers,
called the Invisible Internet Network Protocol (I2NP).
|
net.i2p.data.router |
Classes formerly in net.i2p.data but moved here as they are only used by the router.
|
net.i2p.router |
The I2P router application handles the I2P network communication.
|
net.i2p.router.dummy |
Dummy versions of things for testing.
|
net.i2p.router.networkdb.kademlia |
The network database, including implementation of floodfills.
|
Modifier and Type | Class and Description |
---|---|
class |
LeaseSet
Defines the set of leases a destination currently has.
|
Modifier and Type | Method and Description |
---|---|
DatabaseEntry |
DatabaseStoreMessage.getEntry()
Defines the entry in the network database being stored
|
Modifier and Type | Method and Description |
---|---|
void |
DatabaseStoreMessage.setEntry(DatabaseEntry entry)
This also sets the key
|
Modifier and Type | Class and Description |
---|---|
class |
RouterInfo
Defines the data that a router either publishes to the global routing table or
provides to trusted peers.
|
Modifier and Type | Method and Description |
---|---|
abstract DatabaseEntry |
NetworkDatabaseFacade.lookupLocally(Hash key) |
DatabaseEntry |
NetworkDatabaseFacade.store(Hash key,
DatabaseEntry entry) |
Modifier and Type | Method and Description |
---|---|
DatabaseEntry |
NetworkDatabaseFacade.store(Hash key,
DatabaseEntry entry) |
Modifier and Type | Method and Description |
---|---|
DatabaseEntry |
DummyNetworkDatabaseFacade.lookupLocally(Hash key) |
Modifier and Type | Method and Description |
---|---|
DatabaseEntry |
TransientDataStore.get(Hash key) |
DatabaseEntry |
DataStore.get(Hash key) |
DatabaseEntry |
PersistentDataStore.get(Hash key) |
DatabaseEntry |
TransientDataStore.get(Hash key,
boolean persist)
for PersistentDataStore only - don't use here
|
DatabaseEntry |
DataStore.get(Hash key,
boolean persist) |
DatabaseEntry |
PersistentDataStore.get(Hash key,
boolean persist)
Prepare for having only a partial set in memory and the rest on disk
|
DatabaseEntry |
StoreState.getData() |
DatabaseEntry |
KademliaNetworkDatabaseFacade.lookupLocally(Hash key) |
(package private) DatabaseEntry |
KademliaNetworkDatabaseFacade.lookupLocallyWithoutValidation(Hash key)
Not for use without validation
|
DatabaseEntry |
TransientDataStore.remove(Hash key) |
DatabaseEntry |
DataStore.remove(Hash key) |
DatabaseEntry |
PersistentDataStore.remove(Hash key) |
DatabaseEntry |
TransientDataStore.remove(Hash key,
boolean persist)
for PersistentDataStore only - don't use here
|
DatabaseEntry |
DataStore.remove(Hash key,
boolean persist) |
DatabaseEntry |
PersistentDataStore.remove(Hash key,
boolean persist) |
Modifier and Type | Method and Description |
---|---|
Collection<DatabaseEntry> |
TransientDataStore.getEntries() |
Collection<DatabaseEntry> |
DataStore.getEntries() |
Set<Map.Entry<Hash,DatabaseEntry>> |
TransientDataStore.getMapEntries() |
Set<Map.Entry<Hash,DatabaseEntry>> |
DataStore.getMapEntries() |
Modifier and Type | Method and Description |
---|---|
void |
FloodfillNetworkDatabaseFacade.flood(DatabaseEntry ds)
Send to a subset of all floodfill peers.
|
boolean |
TransientDataStore.put(Hash key,
DatabaseEntry data) |
boolean |
DataStore.put(Hash key,
DatabaseEntry data) |
boolean |
PersistentDataStore.put(Hash key,
DatabaseEntry data) |
boolean |
TransientDataStore.put(Hash key,
DatabaseEntry data,
boolean persist)
for PersistentDataStore only - don't use here
|
boolean |
DataStore.put(Hash key,
DatabaseEntry data,
boolean persist) |
boolean |
PersistentDataStore.put(Hash key,
DatabaseEntry data,
boolean persist) |
void |
FloodfillNetworkDatabaseFacade.sendStore(Hash key,
DatabaseEntry ds,
Job onSuccess,
Job onFailure,
long sendTimeout,
Set<Hash> toIgnore) |
void |
KademliaNetworkDatabaseFacade.sendStore(Hash key,
DatabaseEntry ds,
Job onSuccess,
Job onFailure,
long sendTimeout,
Set<Hash> toIgnore)
unused (overridden in FNDF)
|
Constructor and Description |
---|
FloodfillStoreJob(RouterContext context,
FloodfillNetworkDatabaseFacade facade,
Hash key,
DatabaseEntry data,
Job onSuccess,
Job onFailure,
long timeoutMs)
Send a data structure to the floodfills
|
FloodfillStoreJob(RouterContext context,
FloodfillNetworkDatabaseFacade facade,
Hash key,
DatabaseEntry data,
Job onSuccess,
Job onFailure,
long timeoutMs,
Set<Hash> toSkip) |
StoreJob(RouterContext context,
KademliaNetworkDatabaseFacade facade,
Hash key,
DatabaseEntry data,
Job onSuccess,
Job onFailure,
long timeoutMs)
Send a data structure to the floodfills
|
StoreJob(RouterContext context,
KademliaNetworkDatabaseFacade facade,
Hash key,
DatabaseEntry data,
Job onSuccess,
Job onFailure,
long timeoutMs,
Set<Hash> toSkip) |
StoreState(RouterContext ctx,
Hash key,
DatabaseEntry data) |
StoreState(RouterContext ctx,
Hash key,
DatabaseEntry data,
Set<Hash> toSkip) |