Uses of Class
net.i2p.util.SimpleTimer2
Package
Description
Core I2P package, contains information about the I2P version and an entry point to access important elements.
Implementation of a TCP-like (reliable, authenticated, in order) set of sockets for
communicating over the IP-like (unreliable, unauthenticated, unordered) I2P
messages.
The I2P startup package loads the configuration when I2P is started.
These classes define the several useful utilities used
throughout the router and applications.
-
Uses of SimpleTimer2 in net.i2p
Modifier and TypeMethodDescriptionI2PAppContext.simpleTimer2()
Use instead of SimpleTimer2.getInstance() -
Uses of SimpleTimer2 in net.i2p.client.streaming.impl
ModifierConstructorDescriptionConnection
(I2PAppContext ctx, ConnectionManager manager, I2PSession session, SchedulerChooser chooser, SimpleTimer2 timer, PacketQueue queue, ConnectionPacketHandler handler, ConnectionOptions opts, boolean isInbound) ConnectionHandler
(I2PAppContext context, ConnectionManager mgr, SimpleTimer2 timer) Creates a new instance of ConnectionHandler(package private)
ConnThrottler
(int max, int totalMax, long period, SimpleTimer2 timer) MessageOutputStream
(I2PAppContext ctx, SimpleTimer2 timer, MessageOutputStream.DataReceiver receiver, int bufSize, int initBufSize) MessageOutputStream
(I2PAppContext ctx, SimpleTimer2 timer, MessageOutputStream.DataReceiver receiver, int bufSize, int initBufSize, int passiveFlushDelay) PacketQueue
(I2PAppContext context, SimpleTimer2 timer) TCBShare
(I2PAppContext ctx, SimpleTimer2 timer) -
Uses of SimpleTimer2 in net.i2p.router.startup
ModifierConstructorDescriptionDelayedRunClient
(SimpleTimer2 pool, RouterContext enclosingContext, String className, String clientName, String[] args) caller MUST call schedule()DelayedRunClient
(SimpleTimer2 pool, RouterContext enclosingContext, String className, String clientName, String[] args, ThreadGroup threadGroup, ClassLoader cl) caller MUST call schedule() -
Uses of SimpleTimer2 in net.i2p.util
Modifier and TypeMethodDescriptionstatic SimpleTimer2
SimpleTimer2.getInstance()
If you have a context, use context.simpleTimer2() insteadModifierConstructorDescriptionTimedEvent
(SimpleTimer2 pool) must call schedule() laterTimedEvent
(SimpleTimer2 pool, long timeoutMs) automatically schedules, don't use this one if you have other things to do first