Package | Description |
---|---|
net.i2p.client |
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 | |
net.i2p.router.dummy |
Dummy versions of things for testing.
|
net.i2p.router.message | |
net.i2p.router.networkdb.kademlia |
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)
return the leaseSet if another leaseSet already existed at that key
|
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)
return the leaseSet if another leaseSet already existed at that key
|
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()
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) |
void |
ClientManagerFacadeImpl.requestLeaseSet(Hash dest,
LeaseSet set) |
(package private) void |
ClientConnectionRunner.requestLeaseSet(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?
|
(package private) void |
ClientConnectionRunner.setLeaseSet(LeaseSet ls) |
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) |
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) |