Package | Description |
---|---|
net.i2p.client.impl |
Implements the base I2P SDK for developing applications that communicate
through I2P.
|
net.i2p.data.i2cp |
The Invisible Internet Client Protocol (I2CP) allows applications simplified access to
the I2P network without requiring them to deal with the issues involved with the
Invisible Internet Network Protocol (I2NP).
|
net.i2p.router |
The I2P router application handles the I2P network communication.
|
net.i2p.router.client |
Implements the router side of the I2CP interface,
which is the API for applications to send and receive data through the router.
|
net.i2p.router.dummy |
Dummy versions of things for testing.
|
net.i2p.router.message |
Creates and parses garlic messages.
|
net.i2p.router.networkdb.kademlia |
The network database, including implementation of floodfills.
|
net.i2p.router.tunnel.pool |
Tunnel creation, tunnel build message handling.
|
Modifier and Type | Field and Description |
---|---|
protected LeaseSet |
I2PSessionImpl._leaseSet
currently granted lease set, or null
|
Modifier and Type | Method and Description |
---|---|
(package private) LeaseSet |
I2PSessionImpl.getLeaseSet() |
Modifier and Type | Method and Description |
---|---|
void |
I2CPMessageProducer.createLeaseSet(I2PSessionImpl session,
LeaseSet leaseSet,
SigningPrivateKey signingPriv,
PrivateKey priv)
Create a new signed leaseSet in response to a request to do so and send it
to the router
|
(package private) void |
I2PSessionImpl.setLeaseSet(LeaseSet ls) |
protected void |
RequestLeaseSetMessageHandler.signLeaseSet(LeaseSet leaseSet,
I2PSessionImpl session)
Finish creating and signing the new LeaseSet
|
Modifier and Type | Method and Description |
---|---|
LeaseSet |
CreateLeaseSetMessage.getLeaseSet() |
Modifier and Type | Method and Description |
---|---|
void |
CreateLeaseSetMessage.setLeaseSet(LeaseSet leaseSet) |
Modifier and Type | Method and Description |
---|---|
abstract LeaseSet |
NetworkDatabaseFacade.lookupLeaseSetLocally(Hash key) |
abstract LeaseSet |
NetworkDatabaseFacade.store(Hash key,
LeaseSet leaseSet) |
Modifier and Type | Method and Description |
---|---|
Set<LeaseSet> |
NetworkDatabaseFacade.getLeases()
public for NetDbRenderer in routerconsole
|
Modifier and Type | Method and Description |
---|---|
abstract void |
NetworkDatabaseFacade.publish(LeaseSet localLeaseSet) |
abstract void |
ClientManagerFacade.requestLeaseSet(Destination dest,
LeaseSet set,
long timeout,
Job onCreateJob,
Job onFailedJob)
Request that a particular client authorize the Leases contained in the
LeaseSet, after which the onCreateJob is queued up.
|
abstract void |
ClientManagerFacade.requestLeaseSet(Hash dest,
LeaseSet set) |
abstract LeaseSet |
NetworkDatabaseFacade.store(Hash key,
LeaseSet leaseSet) |
abstract void |
NetworkDatabaseFacade.unpublish(LeaseSet localLeaseSet) |
Modifier and Type | Method and Description |
---|---|
LeaseSet |
LeaseRequestState.getGranted()
created lease set from client - FIXME always null
|
LeaseSet |
ClientConnectionRunner.getLeaseSet(Hash h)
Currently allocated leaseSet.
|
LeaseSet |
LeaseRequestState.getRequested()
lease set that is being requested
|
Modifier and Type | Method and Description |
---|---|
(package private) void |
ClientConnectionRunner.leaseSetCreated(LeaseSet ls)
called after a new leaseSet is granted by the client, the NetworkDb has been
updated.
|
void |
ClientManager.requestLeaseSet(Destination dest,
LeaseSet set,
long timeout,
Job onCreateJob,
Job onFailedJob)
Request that a particular client authorize the Leases contained in the
LeaseSet, after which the onCreateJob is queued up.
|
void |
ClientManagerFacadeImpl.requestLeaseSet(Destination dest,
LeaseSet set,
long timeout,
Job onCreateJob,
Job onFailedJob)
Request that a particular client authorize the Leases contained in the
LeaseSet, after which the onCreateJob is queued up.
|
void |
ClientManager.requestLeaseSet(Hash dest,
LeaseSet ls)
Request that a particular client authorize the Leases contained in the
LeaseSet.
|
void |
ClientManagerFacadeImpl.requestLeaseSet(Hash dest,
LeaseSet set)
Request that a particular client authorize the Leases contained in the
LeaseSet.
|
(package private) void |
ClientConnectionRunner.requestLeaseSet(Hash h,
LeaseSet set,
long expirationTime,
Job onCreateJob,
Job onFailedJob)
Request that a particular client authorize the Leases contained in the
LeaseSet, after which the onCreateJob is queued up.
|
void |
LeaseRequestState.setGranted(LeaseSet ls)
FIXME unused - why?
|
Constructor and Description |
---|
LeaseRequestState(Job onGranted,
Job onFailed,
long expiration,
LeaseSet requested) |
Modifier and Type | Method and Description |
---|---|
LeaseSet |
DummyNetworkDatabaseFacade.lookupLeaseSetLocally(Hash key) |
LeaseSet |
DummyNetworkDatabaseFacade.store(Hash key,
LeaseSet leaseSet) |
Modifier and Type | Method and Description |
---|---|
void |
DummyNetworkDatabaseFacade.publish(LeaseSet localLeaseSet) |
void |
DummyClientManagerFacade.requestLeaseSet(Destination dest,
LeaseSet set,
long timeout,
Job onCreateJob,
Job onFailedJob) |
void |
DummyClientManagerFacade.requestLeaseSet(Hash dest,
LeaseSet set) |
LeaseSet |
DummyNetworkDatabaseFacade.store(Hash key,
LeaseSet leaseSet) |
void |
DummyNetworkDatabaseFacade.unpublish(LeaseSet localLeaseSet) |
Modifier and Type | Field and Description |
---|---|
(package private) Map<OutboundCache.HashPair,LeaseSet> |
OutboundCache.leaseSetCache
Returns the reply lease set if forced to do so,
or if configured to do so,
or if a certain percentage of the time if configured to do so,
or if our lease set has changed since we last talked to them,
or 10% of the time anyway so they don't forget us (disabled for now),
or null otherwise.
|
Modifier and Type | Method and Description |
---|---|
(package private) static GarlicMessage |
OutboundClientMessageJobHelper.createGarlicMessage(RouterContext ctx,
long replyToken,
long expiration,
PublicKey recipientPK,
PayloadGarlicConfig dataClove,
Hash from,
Destination dest,
TunnelInfo replyTunnel,
int tagsToSendOverride,
int lowTagsOverride,
SessionKey wrappedKey,
Set<SessionTag> wrappedTags,
boolean requireAck,
LeaseSet bundledReplyLeaseSet)
Allow the app to specify the data clove directly, which enables OutboundClientMessage to resend the
same payload (including expiration and unique id) in different garlics (down different tunnels)
This is called from OCMOSJ
|
Modifier and Type | Method and Description |
---|---|
LeaseSet |
KademliaNetworkDatabaseFacade.lookupLeaseSetLocally(Hash key)
Use lookupDestination() if you don't need the LS or don't need it validated.
|
LeaseSet |
KademliaNetworkDatabaseFacade.store(Hash key,
LeaseSet leaseSet)
Store the leaseSet.
|
Modifier and Type | Method and Description |
---|---|
Set<LeaseSet> |
KademliaNetworkDatabaseFacade.getLeases()
public for NetDbRenderer in routerconsole
|
Modifier and Type | Method and Description |
---|---|
void |
KademliaNetworkDatabaseFacade.publish(LeaseSet localLeaseSet) |
LeaseSet |
KademliaNetworkDatabaseFacade.store(Hash key,
LeaseSet leaseSet)
Store the leaseSet.
|
void |
KademliaNetworkDatabaseFacade.unpublish(LeaseSet localLeaseSet) |
Modifier and Type | Method and Description |
---|---|
protected LeaseSet |
TunnelPool.locked_buildNewLeaseSet()
Build a leaseSet with the required tunnels that aren't about to expire.
|
protected LeaseSet |
AliasedTunnelPool.locked_buildNewLeaseSet() |