Packages that use DatabaseLookupMessage.Type
Package
Description
Low-level messages sent between routers - the Invisible Internet Network Protocol (I2NP).
Network database message handling shared by all facades: database lookup jobs and local RouterInfo publication.
The Kademlia distributed hash table (DHT) network database: lookup, store and explore jobs, the data store, the floodfill variants, and lookup throttling.
Uses of DatabaseLookupMessage.Type in net.i2p.data.i2np
Subclasses with type arguments of type DatabaseLookupMessage.Type in net.i2p.data.i2npModifier and TypeClassDescriptionstatic enumDatabase lookup type enumeration.Fields in net.i2p.data.i2np declared as DatabaseLookupMessage.TypeModifier and TypeFieldDescriptionprivate DatabaseLookupMessage.TypeDatabaseLookupMessage._typeThe record type the requester wants.Methods in net.i2p.data.i2np that return DatabaseLookupMessage.TypeModifier and TypeMethodDescriptionDatabaseLookupMessage.getSearchType()Defines the type of data being searched for.static DatabaseLookupMessage.TypeReturns the enum constant of this class with the specified name.static DatabaseLookupMessage.Type[]DatabaseLookupMessage.Type.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in net.i2p.data.i2np with parameters of type DatabaseLookupMessage.TypeModifier and TypeMethodDescriptionvoidDatabaseLookupMessage.setSearchType(DatabaseLookupMessage.Type type) Defines the type of data being searched for.(package private) static StringDatabaseLookupMessage.shortKey(DatabaseLookupMessage.Type type, Hash key) The search key as the house truncation - 8 base32 characters for a lease set, 6 base64 for anything else - bracketed so the console links it.Uses of DatabaseLookupMessage.Type in net.i2p.router.networkdb
Methods in net.i2p.router.networkdb with parameters of type DatabaseLookupMessage.TypeModifier and TypeMethodDescriptionHandleDatabaseLookupMessageJob.getNearestRouters(DatabaseLookupMessage.Type lookupType) Closest to the message's search key, honoring the message's dontInclude set.Uses of DatabaseLookupMessage.Type in net.i2p.router.networkdb.kademlia
Methods in net.i2p.router.networkdb.kademlia with parameters of type DatabaseLookupMessage.TypeModifier and TypeMethodDescriptionprivate booleanFloodfillDatabaseLookupMessageHandler.shouldAcceptLookup(boolean isSenderUs, boolean shouldThrottle, boolean shouldBan, boolean ourRI, boolean floodfillMode, boolean isFF, DatabaseLookupMessage.Type type) Determines whether a lookup request should be accepted based on sender identity, throttling and banning status, router participation mode, and type of lookup.private static StringFloodfillDatabaseLookupMessageHandler.typeToString(DatabaseLookupMessage.Type type) Converts a DatabaseLookupMessage.Type enum to a human-readable string.