Uses of Package
net.i2p.util
Package
Description
Core I2P package, contains information about the I2P version and an entry point to access important elements.
The addressbook application, which fetches hosts.txt files from subscription URLs via
HTTP and adds new hosts to the local database.
Implements the base I2P SDK for developing applications that communicate
through I2P.
Provides a standard way for querying the local naming service to resolve a
name into a
Destination
(without the complexity of JNDI).API, interfaces, and factory for a TCP-like (reliable, authenticated, in order) set of sockets for
communicating over the IP-like (unreliable, unauthenticated, unordered) I2P
messages.
Implementation of a TCP-like (reliable, authenticated, in order) set of sockets for
communicating over the IP-like (unreliable, unauthenticated, unordered) I2P
messages.
These classes provide a number of low-level cryptographic routines.
These classes define the common data structures used by the various
I2P protocols.
This package defines the low-level messages sent between routers,
called the Invisible Internet Network Protocol (I2NP).
Classes formerly in net.i2p.data but moved here as they are only used by the router.
Implementation of preconfigured tunnels, both for clients and servers,
and a UI for adding more and editing the configuration.
Filters for the IRC client tunnel, and DCC handlers.
SOCKS 4, 4a, and 5 client tunnels.
Special-purpose client and server tunnels for streaming UDP clients and servers,
generally for audio and video streaming.
The UI for adding tunnels and editing their configurations,
implemented as a webapp packaged in i2ptunnel.war.
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.
Implementation of ECIES-X25519-AEAD-Ratchet (proposal 144).
The network database, including implementation of floodfills.
Classes to parse the I2P news format, which follows the Atom
standard with additional metadata for the I2P update notification feature.
The I2P startup package loads the configuration when I2P is started.
Miscellaneous classes, mostly things that are executed periodically as
Jobs, Threads, and SimpleTimer.TimedEvents.
Provides classes for time synchronization using NTP.
The transport system allows the usage of communication layers that are below I2P in the stack, on which I2P messages are sent.
DH key generation.
The NTCP transport allows passing I2P messages on top of TCP.
The UDP transport (also known as 'SSU transport') allows passing I2P messages on top of UDP.
All the work of managing locally created and participating tunnels,
creating and handling tunnel messages, and their encryption.
Tunnel creation, tunnel build message handling.
Classes to implement the update process.
These classes define the several useful utilities used
throughout the router.
The router console user interface, implemented in routerconsole.jar, with these classes
supporting the webapp in routerconsole.war.
Helpers and handlers for the router console user interface,
with these classes supporting the webapp in routerconsole.war.
The SAM client API.
These classes define the several useful utilities used
throughout the router and applications.
I2P version of the snark bittorrent client, imported in 2005 and heavily enhanced
to add a web UI, DHT support, and other features.
The i2psnark user interface, implemented as a webapp in i2psnark.war.
-
-
ClassDescriptionAlternate location for determining the time which takes into account an offset.This class contains a number of properties ((key,value)-pairs).simpleManages the logging system, loading (and reloading) the configuration file, coordinating the log limits, and storing the set of log records pending.Map services to internal or external application ports for this context.Singleton for whatever PRNG i2p uses.Deprecated.in 0.9.20, use SimpleTimer2 insteadSimple event scheduler - toss an event on the queue and it gets fired at the appropriate time.Simple event scheduler - toss an event on the queue and it gets fired at the appropriate time.
-
-
ClassDescriptionWrapper class for whatever logging system I2P uses.Simple interface for events to be queued up and notified on expiration
-
ClassDescriptionWrapper class for whatever logging system I2P uses.Properties map that has its keySet ordered consistently (via the key's lexicographical ordering).
-
ClassDescriptionEepGet [-p 127.0.0.1:4444] [-n #retries] [-o outputFile] [-m markSize lineLen] urlImplements one or two timers; one for inactivity, that is reset by resetTimer(), and optionally, a total time since instantiation, that is configured by setTotalTimeoutPeriod().
-
ClassDescriptionA Westwood bandwidth estimatorWrapper class for whatever logging system I2P uses.Simple interface for events to be queued up and notified on expirationSimple event scheduler - toss an event on the queue and it gets fired at the appropriate time.Similar to SimpleTimer.TimedEvent but users must extend instead of implement, and all schedule and cancel methods are through this class rather than SimpleTimer2.
-
ClassDescriptionWrapper class for whatever logging system I2P uses.BigInteger that takes advantage of the jbigi library for the modPow operation, which accounts for a massive segment of the processing cost of asymmetric crypto.
-
ClassDescriptionProperties map that has its keySet ordered consistently (via the key's lexicographical ordering).
-
-
ClassDescriptionProperties map that has its keySet ordered consistently (via the key's lexicographical ordering).
-
ClassDescriptionEvent dispatching interface.An implementation of the EventDispatcher interface.Like
I2PThread
but with per-thread OOM listeners, rather than a static router-wide listener list, so that an OOM in an app won't call the router listener to shutdown the whole router.Preferred overThread
for all router uses.Wrapper class for whatever logging system I2P uses. -
ClassDescriptionEvent dispatching interface.An implementation of the EventDispatcher interface.Wrapper class for whatever logging system I2P uses.
-
ClassDescriptionEvent dispatching interface.An implementation of the EventDispatcher interface.Wrapper class for whatever logging system I2P uses.
-
ClassDescriptionEvent dispatching interface.An implementation of the EventDispatcher interface.
-
ClassDescriptionEvent dispatching interface.An implementation of the EventDispatcher interface.
-
-
ClassDescriptionAlternate location for determining the time which takes into account an offset.Simple command line access to various utilities.Preferred over
Thread
for all router uses.simple -
-
ClassDescriptionPreferred over
Thread
for all router uses.Similar to SimpleTimer.TimedEvent but users must extend instead of implement, and all schedule and cancel methods are through this class rather than SimpleTimer2. -
-
-
ClassDescriptionWrapper class for whatever logging system I2P uses.Simple event scheduler - toss an event on the queue and it gets fired at the appropriate time.Similar to SimpleTimer.TimedEvent but users must extend instead of implement, and all schedule and cancel methods are through this class rather than SimpleTimer2.
-
ClassDescriptionSimple interface for events to be queued up and notified on expiration
-
-
ClassDescriptionA Westwood bandwidth estimatorWrapper class for whatever logging system I2P uses.
-
-
-
ClassDescriptionA Westwood bandwidth estimatorWrapper class for whatever logging system I2P uses.Similar to SimpleTimer.TimedEvent but users must extend instead of implement, and all schedule and cancel methods are through this class rather than SimpleTimer2.
-
ClassDescriptionCache the objects frequently used to reduce memory churn.Wrapper class for whatever logging system I2P uses.Similar to SimpleTimer.TimedEvent but users must extend instead of implement, and all schedule and cancel methods are through this class rather than SimpleTimer2.
-
-
ClassDescriptionEepGet [-p 127.0.0.1:4444] [-n #retries] [-o outputFile] [-m markSize lineLen] urlCallback interfaceLike
I2PThread
but with per-thread OOM listeners, rather than a static router-wide listener list, so that an OOM in an app won't call the router listener to shutdown the whole router.Preferred overThread
for all router uses.Wrapper class for whatever logging system I2P uses.Simple interface for events to be queued up and notified on expiration -
ClassDescriptionWrapper class for whatever logging system I2P uses.Manage both plaintext and salted/hashed password storage in router.config.Similar to SimpleTimer.TimedEvent but users must extend instead of implement, and all schedule and cancel methods are through this class rather than SimpleTimer2.
-
ClassDescriptionWrapper class for whatever logging system I2P uses.Manage both plaintext and salted/hashed password storage in router.config.Similar to SimpleTimer.TimedEvent but users must extend instead of implement, and all schedule and cancel methods are through this class rather than SimpleTimer2.Translate strings efficiently.
-
ClassDescriptionMap services to internal or external application ports for this context.
-
ClassDescriptionLike
I2PThread
but with per-thread OOM listeners, rather than a static router-wide listener list, so that an OOM in an app won't call the router listener to shutdown the whole router.Wrapper class for whatever logging system I2P uses. -
ClassDescriptionA small, fast Set with a maximum size, backed by a fixed-size array.Cache the objects frequently used to reduce memory churn.Alternate location for determining the time which takes into account an offset.EepGet [-p 127.0.0.1:4444] [-n #retries] [-o outputFile] [-m markSize lineLen] urlManage the authentication parameters Ref: RFC 2617 Supports both Basic and Digest, however i2ptunnel HTTP proxy has migrated all previous Basic support to Digest.Callback interfaceEvent dispatching interface.Preferred over
Thread
for all router uses.A simple in-JVM Socket using Piped Streams.Wrapper class for whatever logging system I2P uses.Offer a glimpse into the last few console messages generated.Manages the logging system, loading (and reloading) the configuration file, coordinating the log limits, and storing the set of log records pending.Keep track of a log entry, unformatted.Log writer thread that pulls log records from the LogManager and writes them to the log.Singleton for whatever PRNG i2p uses.GZIP implementation per RFC 1952, reusing java's standard CRC32 and Inflater and InflaterInputStream implementations.GZIP implementation per RFC 1952, reusing java's standard CRC32 and Deflater implementations.Provide a cache of reusable GZIP unzipper streams.Provide a cache of reusable GZIP streams, each handling up to 40 KB output without expansion.Same as File but sets the file mode after mkdir() so it can be read and written by the owner only (i.e.Like ByteCache but works directly with byte arrays, not ByteArrays.Deprecated.in 0.9.20, use SimpleTimer2 insteadDeprecated - used only by SimpleTimerSimple event scheduler - toss an event on the queue and it gets fired at the appropriate time.Simple interface for events to be queued up and notified on expirationSimple event scheduler - toss an event on the queue and it gets fired at the appropriate time.Similar to SimpleTimer.TimedEvent but users must extend instead of implement, and all schedule and cancel methods are through this class rather than SimpleTimer2.Implements one or two timers; one for inactivity, that is reset by resetTimer(), and optionally, a total time since instantiation, that is configured by setTotalTimeoutPeriod().Not all may be supported.An opaque class for the caller to pass to repeated instantiations of SSLEepGet.Adds setReadTimeout().An object cache which is safe to use by multiple threads without blocking.Something that creates objects of the type cached by this cacheA queue of messages, where each has an ID number. -
-
ClassDescriptionSimple command line access to various utilities.Callback interfaceLike
I2PThread
but with per-thread OOM listeners, rather than a static router-wide listener list, so that an OOM in an app won't call the router listener to shutdown the whole router.Preferred overThread
for all router uses.Wrapper class for whatever logging system I2P uses.Similar to SimpleTimer.TimedEvent but users must extend instead of implement, and all schedule and cancel methods are through this class rather than SimpleTimer2. -
-
ClassDescriptionCallback interfaceWrapper class for whatever logging system I2P uses.