Uses of Class
net.i2p.data.LeaseSet
Packages that use 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
Fields in net.i2p.client.impl declared as LeaseSetModifier and TypeFieldDescriptionprotected LeaseSet
I2PSessionImpl._leaseSet
currently granted lease set, or nullMethods in net.i2p.client.impl that return LeaseSetMethods in net.i2p.client.impl with parameters of type LeaseSetModifier 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
Subclasses of LeaseSet in net.i2p.dataModifier 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
Fields in net.i2p.data.i2cp declared as LeaseSetMethods in net.i2p.data.i2cp that return LeaseSetMethods in net.i2p.data.i2cp with parameters of type LeaseSet -
Uses of LeaseSet in net.i2p.router
Methods in net.i2p.router that return LeaseSetModifier and TypeMethodDescriptionabstract LeaseSet
NetworkDatabaseFacade.lookupLeaseSetLocally
(Hash key) abstract LeaseSet
Methods in net.i2p.router that return types with arguments of type LeaseSetModifier and TypeMethodDescriptionNetworkDatabaseFacade.getLeases()
public for NetDbRenderer in routerconsoleMethods in net.i2p.router with parameters of type LeaseSetModifier 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
Methods in net.i2p.router.client that return LeaseSetModifier and TypeMethodDescriptionLeaseRequestState.getGranted()
created lease set from client - FIXME always nullClientConnectionRunner.getLeaseSet
(Hash h) Currently allocated leaseSet.LeaseRequestState.getRequested()
lease set that is being requestedMethods in net.i2p.router.client with parameters of type LeaseSetModifier 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?Constructors in net.i2p.router.client with parameters of type LeaseSetModifierConstructorDescriptionLeaseRequestState
(Job onGranted, Job onFailed, long currentEarliestLeastDate, long expiration, LeaseSet requested) -
Uses of LeaseSet in net.i2p.router.dummy
Methods in net.i2p.router.dummy that return LeaseSetMethods in net.i2p.router.dummy with parameters of type LeaseSetModifier 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
Fields in net.i2p.router.message with type parameters of type LeaseSetModifier 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.Methods in net.i2p.router.message with parameters of type LeaseSetModifier 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
Methods in net.i2p.router.networkdb.kademlia that return LeaseSetModifier and TypeMethodDescriptionKademliaNetworkDatabaseFacade.lookupLeaseSetLocally
(Hash key) Use lookupDestination() if you don't need the LS or don't need it validated.Store the leaseSet.Methods in net.i2p.router.networkdb.kademlia that return types with arguments of type LeaseSetModifier and TypeMethodDescriptionKademliaNetworkDatabaseFacade.getLeases()
public for NetDbRenderer in routerconsoleMethods in net.i2p.router.networkdb.kademlia with parameters of type LeaseSet -
Uses of LeaseSet in net.i2p.router.tunnel.pool
Methods in net.i2p.router.tunnel.pool that return LeaseSetModifier and TypeMethodDescriptionprotected LeaseSet
AliasedTunnelPool.locked_buildNewLeaseSet()
protected LeaseSet
TunnelPool.locked_buildNewLeaseSet()
Build a leaseSet with the required tunnels that aren't about to expire.