## Uses of Class
net.i2p.util.SimpleTimer2

- Packages that use SimpleTimer2
  Package | Description
  --- | ---
  net.i2p | Core I2P package providing fundamental interfaces, version information, and entry points to essential I2P services.
  net.i2p.client.streaming.impl | Implementation of a TCP-like (reliable, authenticated, in order) set of sockets for communicating over the IP-like (unreliable, unauthenticated, unordered) I2P messages.
  net.i2p.router.startup | The I2P startup package loads configuration when I2P is started.
  net.i2p.util | Core utility classes and helper functions used throughout the I2P router and applications.

- - ### Uses of SimpleTimer2 in net.i2p

    Methods in net.i2p that return SimpleTimer2
    Modifier and Type | Method and Description
    --- | ---
    `SimpleTimer2` | I2PAppContext.`simpleTimer2()` Use instead of SimpleTimer2.getInstance()

  - ### Uses of SimpleTimer2 in net.i2p.client.streaming.impl

    Subclasses of SimpleTimer2 in net.i2p.client.streaming.impl
    Modifier and Type | Class and Description
    --- | ---
    `class` | `RetransmissionTimer` Per-destination timer

    Constructors in net.i2p.client.streaming.impl with parameters of type SimpleTimer2
    Constructor and Description
    `Connection(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
    `ConnThrottler(int max, int totalMax, long period, SimpleTimer2 timer)`
    `MessageOutputStream(I2PAppContext ctx, SimpleTimer2 timer, MessageOutputStream.DataReceiver receiver, int bufSize, int initBufSize)` Constructs the stream with default passive flush delay.
    `MessageOutputStream(I2PAppContext ctx, SimpleTimer2 timer, MessageOutputStream.DataReceiver receiver, int bufSize, int initBufSize, int passiveFlushDelay)` Constructs the stream with specified passive flush delay.
    `PacketQueue(I2PAppContext context, SimpleTimer2 timer)`
    `TCBShare(I2PAppContext ctx, SimpleTimer2 timer)`

  - ### Uses of SimpleTimer2 in net.i2p.router.startup

    Constructors in net.i2p.router.startup with parameters of type SimpleTimer2
    Constructor and Description
    `DelayedRunClient(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

    Methods in net.i2p.util that return SimpleTimer2
    Modifier and Type | Method and Description
    --- | ---
    `static SimpleTimer2` | SimpleTimer2.`getInstance()` If you have a context, use context.simpleTimer2() instead

    Constructors in net.i2p.util with parameters of type SimpleTimer2
    Constructor and Description
    `TimedEvent(SimpleTimer2 pool)` Create a new timed event.
    `TimedEvent(SimpleTimer2 pool, long timeoutMs)` Create a new timed event and automatically schedules it.