| Package | Description |
|---|---|
| net.i2p.data | These classes define the common data structures used by the various I2P protocols. |
| net.i2p.data.i2cp | The Invisible Internet Client Protocol (I2CP) allows applications simplified access to I2P network without requiring them to deal with the issues involved with the Invisible Internet Network Protocol (I2NP). |
| net.i2p.router.message | Garlic message creation, parsing, and source routing for I2P communications. |
| Modifier and Type | Class and Description |
|---|---|
class | Lease2Implementation of Lease2 as specified in
Proposal 123: New NetDb Entries. |
class | MetaLeaseImplementation of MetaLease as specified in
Proposal 123: New NetDb Entries. |
| Modifier and Type | Field and Description |
|---|---|
protected List<Lease> | LeaseSet._leasesLeases must stay in the order received, or signature verification will fail. |
| Modifier and Type | Method and Description |
|---|---|
Lease | LeaseSet.getLease(int index)Get the lease at the given index. |
Lease | EncryptedLeaseSet.getLease(int index)Null if not decrypted. |
| Modifier and Type | Method and Description |
|---|---|
void | LeaseSet.addLease(Lease lease)Adds a lease to this leaseset. |
void | MetaLeaseSet.addLease(Lease lease)Must be a MetaLease. |
void | LeaseSet2.addLease(Lease lease)Must be a Lease2. |
| Modifier and Type | Method and Description |
|---|---|
Lease | RequestVariableLeaseSetMessage.getEndpoint(int endpoint)Endpoint. |
| Modifier and Type | Method and Description |
|---|---|
void | RequestVariableLeaseSetMessage.addEndpoint(Lease lease)addEndpoint. |
| Modifier and Type | Field and Description |
|---|---|
(package private) ConcurrentHashMap<OutboundCache.HashPair,Lease> | OutboundCache.leaseCacheLease cache keyed by source-destination pairs. |
| Modifier and Type | Method and Description |
|---|---|
(package private) void | OutboundCache.clearCaches(OutboundCache.HashPair hashPair,
Lease lease,
TunnelInfo inTunnel,
TunnelInfo outTunnel)Clears cache entries related to the provided key and elements upon failure,
allowing retries with fresh associations. |