Packages that use FloodfillNetworkDatabaseFacade
Package
Description
The I2P router application handles I2P network communication.
Router-side implementation of the Invisible Internet Client Protocol (I2CP): client sessions over plain or TLS sockets, message delivery, and lease and tunnel management on behalf of clients.
Simplified fake implementations of router interfaces (comm system and friends) for testing and embedded builds.
The Kademlia distributed hash table (DHT) network database: lookup, store and explore jobs, the data store, the floodfill variants, and lookup throttling.
Uses of FloodfillNetworkDatabaseFacade in net.i2p.router
Methods in net.i2p.router that return FloodfillNetworkDatabaseFacadeModifier and TypeMethodDescriptionabstract FloodfillNetworkDatabaseFacadeClientManagerFacade.getClientFloodfillNetworkDatabaseFacade(Hash destHash) The FloodfillNetworkDatabaseFacade associated with a particular client destination.Uses of FloodfillNetworkDatabaseFacade in net.i2p.router.client
Fields in net.i2p.router.client declared as FloodfillNetworkDatabaseFacadeModifier and TypeFieldDescriptionprivate FloodfillNetworkDatabaseFacadeClientConnectionRunner._floodfillNetworkDatabaseFacadeUsed for leaseSets sent to and received from this client.Methods in net.i2p.router.client that return FloodfillNetworkDatabaseFacadeModifier and TypeMethodDescriptionClientManager.getClientFloodfillNetworkDatabaseFacade(Hash destHash) The FloodfillNetworkDatabaseFacade associated with a particular client destination.ClientManagerFacadeImpl.getClientFloodfillNetworkDatabaseFacade(Hash destHash) The FloodfillNetworkDatabaseFacade associated with a particular client destination.ClientConnectionRunner.getFloodfillNetworkDatabaseFacade()The FloodfillNetworkDatabaseFacade for this runner, the client netDb.Uses of FloodfillNetworkDatabaseFacade in net.i2p.router.dummy
Methods in net.i2p.router.dummy that return FloodfillNetworkDatabaseFacadeModifier and TypeMethodDescriptionDummyClientManagerFacade.getClientFloodfillNetworkDatabaseFacade(Hash dbid) Return the floodfill network database facade.Uses of FloodfillNetworkDatabaseFacade in net.i2p.router.networkdb.kademlia
Fields in net.i2p.router.networkdb.kademlia declared as FloodfillNetworkDatabaseFacadeModifier and TypeFieldDescriptionprivate final FloodfillNetworkDatabaseFacadeContactDrivenRefreshJob._facadeThe floodfill database whose profile is refreshed.private FloodfillNetworkDatabaseFacadeFloodfillDatabaseLookupMessageHandler._facadeThe facade holding the keys being looked up.private FloodfillNetworkDatabaseFacadeFloodfillDatabaseStoreMessageHandler._facadeThe store the profile is checked against.private final FloodfillNetworkDatabaseFacadeFloodfillMonitorJob._facadeThe network database being monitored.private final FloodfillNetworkDatabaseFacadeFloodfillRouterInfoFloodJob._facadeThe store whose entry is flooded.private final FloodfillNetworkDatabaseFacadeFloodfillStoreJob._facadeThe store the entry is saved to.private final FloodfillNetworkDatabaseFacadeFloodfillVerifyStoreJob._facadeThe floodfill netdb we serve.protected final FloodfillNetworkDatabaseFacadeFloodSearchJob._facadeFloodfill network database facade.private final FloodfillNetworkDatabaseFacadeHandleFloodfillDatabaseStoreMessageJob._facadeThe floodfill network database.private final FloodfillNetworkDatabaseFacadeIntroducerLookupJob._facadeThe facade running the lookups.private final FloodfillNetworkDatabaseFacadeLookupThrottler._facadeFloodfill network database facade for capability checks.private final FloodfillNetworkDatabaseFacadeProbeStalePeerJob._facadeThe floodfill facade being probed.private final FloodfillNetworkDatabaseFacadeRefreshRoutersJob._facadeThe facade whose routers are refreshed.private final FloodfillNetworkDatabaseFacadeFloodfillNetworkDatabaseSegmentor._mainDbidThe facade holding the main database.Methods in net.i2p.router.networkdb.kademlia that return FloodfillNetworkDatabaseFacadeModifier and TypeMethodDescriptionprivate FloodfillNetworkDatabaseFacadeFloodfillNetworkDatabaseFacade.getMainFacade()Main (router) NetDb facade, or null if not yet available.Constructors in net.i2p.router.networkdb.kademlia with parameters of type FloodfillNetworkDatabaseFacadeModifierConstructorDescription(package private)Creates a new ContactDrivenRefreshJob.DirectLookupJob(RouterContext ctx, FloodfillNetworkDatabaseFacade facade, Hash peer, RouterInfo oldRI, Job onFind, Job onFail) Request is sent to; if null the job fails without sending anything.Handler for floodfill DatabaseLookupMessages.Create a handler for floodfill database store messages.FloodfillMonitorJob(RouterContext context, FloodfillNetworkDatabaseFacade facade) Creates a new FloodfillMonitorJob.FloodfillRouterInfoFloodJob(RouterContext context, FloodfillNetworkDatabaseFacade facade) Stores the network database and the log the flood runs under.FloodfillStoreJob(RouterContext context, FloodfillNetworkDatabaseFacade facade, Hash key, DatabaseEntry data, Job onSuccess, Job onFailure, long timeoutMs) Create a new FloodfillStoreJob to send data to floodfills.FloodfillStoreJob(RouterContext context, FloodfillNetworkDatabaseFacade facade, Hash key, DatabaseEntry data, Job onSuccess, Job onFailure, long timeoutMs, Set<Hash> toSkip) Create a new FloodfillStoreJob to send data to floodfills.FloodfillVerifyStoreJob(RouterContext ctx, Hash key, Hash client, long published, int type, Hash sentTo, Set<Hash> toSkip, FloodfillNetworkDatabaseFacade facade) Delay, then confirm the store peer still holds the entry; after a longer delay, confirm a different floodfill got the flood.protectedFloodOnlySearchJob(RouterContext ctx, FloodfillNetworkDatabaseFacade facade, Hash key, Job onFind, Job onFailed, int timeoutMs) For DirectLookupJob extension, RI only, different match job.FloodOnlySearchJob(RouterContext ctx, FloodfillNetworkDatabaseFacade facade, Hash key, Job onFind, Job onFailed, int timeoutMs, boolean isLease) Flood-only search for the given key against the floodfill network database.FloodSearchJob(RouterContext ctx, FloodfillNetworkDatabaseFacade facade, Hash key, Job onFind, Job onFailed, int timeoutMs, boolean isLease) Prepares a flood search for one key: records the target, the callbacks and the lease-set flag, then derives the deadline from the requested timeout, applied in full.HandleFloodfillDatabaseStoreMessageJob(RouterContext ctx, DatabaseStoreMessage receivedMessage, RouterIdentity from, Hash fromHash, FloodfillNetworkDatabaseFacade facade, long msgIDBloomXor) Handle an incoming floodfill DatabaseStoreMessage.Constructor.IterativeSearchJob(RouterContext ctx, FloodfillNetworkDatabaseFacade facade, Hash key, Job onFind, Job onFailed, int timeoutMs, boolean isLease) Lookup using exploratory tunnels.IterativeSearchJob(RouterContext ctx, FloodfillNetworkDatabaseFacade facade, Hash key, Job onFind, Job onFailed, int timeoutMs, boolean isLease, Hash fromLocalDest) Lookup using the client's tunnels.(package private)Throttle for the given floodfill facade.(package private)LookupThrottler(FloodfillNetworkDatabaseFacade facade, int maxlookups, int maxnonfflookups, long cleanTime) Throttle with configurable lookup limits.ProbeStalePeerJob(RouterContext ctx, FloodfillNetworkDatabaseFacade facade) Stores the facade and logger, and empties the per-peer probe cooldown map.RefreshRoutersJob(RouterContext ctx, FloodfillNetworkDatabaseFacade facade) Stores the network database and the log the refresh runs under.