| 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. |
| Modifier and Type | Method and Description |
|---|---|
SimpleTimer2 | I2PAppContext.simpleTimer2()Use instead of SimpleTimer2.getInstance() |
| Modifier and Type | Method and Description |
|---|---|
SimpleTimer2 | RetransmissionTimer.getSharedTimer()Dedicated SimpleTimer2 instance. |
| Constructor and Description |
|---|
Connection(I2PAppContext ctx,
ConnectionManager manager,
I2PSession session,
SchedulerChooser chooser,
SimpleTimer2 timer,
PacketQueue queue,
ConnectionPacketHandler handler,
ConnectionOptions opts,
boolean isInbound)Constructor for this connection. |
ConnectionHandler(I2PAppContext context,
ConnectionManager mgr,
SimpleTimer2 timer)Creates a new instance of ConnectionHandler |
ConnThrottler(int max,
int totalMax,
long period,
SimpleTimer2 timer)Connection throttle for incoming connection rates. |
MessageOutputStream(I2PAppContext ctx,
SimpleTimer2 timer,
MessageOutputStream.DataReceiver receiver,
int bufSize,
int initBufSize)Stream with default passive flush delay. |
MessageOutputStream(I2PAppContext ctx,
SimpleTimer2 timer,
MessageOutputStream.DataReceiver receiver,
int bufSize,
int initBufSize,
int passiveFlushDelay)Stream with specified passive flush delay. |
PacketQueue(I2PAppContext context,
SimpleTimer2 timer)PacketQueue. |
TCBShare(I2PAppContext ctx,
SimpleTimer2 timer)Creates a new TCB share cache. |
| Constructor and Description |
|---|
DelayedRunClient(SimpleTimer2 pool,
RouterContext enclosingContext,
String className,
String clientName,
String[] args)Caller must call schedule() before this event fires. |
DelayedRunClient(SimpleTimer2 pool,
RouterContext enclosingContext,
String className,
String clientName,
String[] args,
ThreadGroup threadGroup,
ClassLoader cl)Caller must call schedule() before this event fires. |
| Modifier and Type | Method and Description |
|---|---|
static SimpleTimer2 | SimpleTimer2.getInstance()If you have a context, use context.simpleTimer2() instead |
| Modifier and Type | Method and Description |
|---|---|
void | SimpleTimer2.TimedEvent.setPool(SimpleTimer2 pool)Timer pool for this event. |
| 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. |