Uses of Class
net.i2p.data.LeaseSet
Package
Description
Implements the base I2P SDK for developing applications that communicate
through I2P.
These classes define the common data structures used by the various
I2P protocols.
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).
The I2P router application handles the I2P network communication.
Implements the router side of the I2CP interface,
which is the API for applications to send and receive data through the router.
Dummy versions of things for testing.
Creates and parses garlic messages.
The network database, including implementation of floodfills.
Tunnel creation, tunnel build message handling.
-
Uses of LeaseSet in net.i2p.client.impl
Modifier and TypeFieldDescriptionprotected LeaseSet
I2PSessionImpl._leaseSet
currently granted lease set, or nullModifier and TypeMethodDescriptionvoid
I2CPMessageProducer.createLeaseSet
(I2PSessionImpl session, LeaseSet leaseSet, SigningPrivateKey signingPriv, List<PrivateKey> privs) In response to a RequestLeaseSet Message from the router, send a CreateLeaseset Message back to the router.(package private) void
I2PSessionImpl.setLeaseSet
(LeaseSet ls) protected void
RequestLeaseSetMessageHandler.signLeaseSet
(LeaseSet leaseSet, boolean isLS2, I2PSessionImpl session) Finish creating and signing the new LeaseSet -
Uses of LeaseSet in net.i2p.data
Modifier and TypeClassDescriptionclass
Use getSigningKey() / setSigningKey() (revocation key in super) for the blinded key.class
See proposal 123class
PRELIMINARY - Subject to change - see proposal 123 -
Uses of LeaseSet in net.i2p.data.i2cp
-
Uses of LeaseSet in net.i2p.router
Modifier and TypeMethodDescriptionabstract LeaseSet
NetworkDatabaseFacade.lookupLeaseSetLocally
(Hash key) abstract LeaseSet
Modifier and TypeMethodDescriptionNetworkDatabaseFacade.getLeases()
public for NetDbRenderer in routerconsoleModifier and TypeMethodDescriptionabstract void
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
abstract void
-
Uses of LeaseSet in net.i2p.router.client
Modifier and TypeMethodDescriptionLeaseRequestState.getGranted()
created lease set from client - FIXME always nullClientConnectionRunner.getLeaseSet
(Hash h) Currently allocated leaseSet.LeaseRequestState.getRequested()
lease set that is being requestedModifier and TypeMethodDescription(package private) void
ClientConnectionRunner.leaseSetCreated
(LeaseSet ls) called after a new leaseSet is granted by the client, the NetworkDb has been updated.(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
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
ClientManager.requestLeaseSet
(Hash dest, LeaseSet ls) Request that a particular client authorize the Leases contained in the LeaseSet.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
ClientManagerFacadeImpl.requestLeaseSet
(Hash dest, LeaseSet set) Request that a particular client authorize the Leases contained in the LeaseSet.void
LeaseRequestState.setGranted
(LeaseSet ls) FIXME unused - why?ModifierConstructorDescriptionLeaseRequestState
(Job onGranted, Job onFailed, long currentEarliestLeastDate, long expiration, LeaseSet requested) -
Uses of LeaseSet in net.i2p.router.dummy
Modifier and TypeMethodDescriptionvoid
void
DummyClientManagerFacade.requestLeaseSet
(Destination dest, LeaseSet set, long timeout, Job onCreateJob, Job onFailedJob) void
DummyClientManagerFacade.requestLeaseSet
(Hash dest, LeaseSet set) void
-
Uses of LeaseSet in net.i2p.router.message
Modifier and TypeFieldDescription(package private) final ConcurrentHashMap<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 TypeMethodDescription(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, ReplyCallback callback) 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 -
Uses of LeaseSet in net.i2p.router.networkdb.kademlia
Modifier and TypeMethodDescriptionKademliaNetworkDatabaseFacade.lookupLeaseSetLocally
(Hash key) Use lookupDestination() if you don't need the LS or don't need it validated.Store the leaseSet.Modifier and TypeMethodDescriptionKademliaNetworkDatabaseFacade.getLeases()
public for NetDbRenderer in routerconsole -
Uses of LeaseSet in net.i2p.router.tunnel.pool
Modifier and TypeMethodDescriptionprotected LeaseSet
AliasedTunnelPool.locked_buildNewLeaseSet()
protected LeaseSet
TunnelPool.locked_buildNewLeaseSet()
Build a leaseSet with the required tunnels that aren't about to expire.