forked from I2P_Developers/i2p.i2p
* Streaming lib:
- Move ConEvent from SimpleTimer to SimpleScheduler - Move RetransmissionTimer (ResendPacketEvent) from SimpleTimer to new SimpleTimer2 - Move ActivityTimer and Flusher from SimpleTimer to RetransmissionTimer - SimpleTimer2 allows specifying "fuzz" to reduce timer queue churn further
This commit is contained in:
@@ -34,7 +34,6 @@ import java.util.Properties;
|
||||
import net.i2p.client.I2PClient;
|
||||
import net.i2p.client.streaming.RetransmissionTimer;
|
||||
import net.i2p.util.Log;
|
||||
import net.i2p.util.SimpleTimer;
|
||||
/**
|
||||
* <span style="font-size:8px;font-family:courier;color:#EEEEEE;background-color:#000000">
|
||||
* ################################################################################<br>
|
||||
@@ -151,7 +150,7 @@ public class BOB {
|
||||
String configLocation = System.getProperty(PROP_CONFIG_LOCATION, "bob.config");
|
||||
|
||||
// This is here just to ensure there is no interference with our threadgroups.
|
||||
SimpleTimer Y = RetransmissionTimer.getInstance();
|
||||
RetransmissionTimer Y = RetransmissionTimer.getInstance();
|
||||
i = Y.hashCode();
|
||||
{
|
||||
try {
|
||||
|
@@ -24,7 +24,6 @@
|
||||
package net.i2p.BOB;
|
||||
|
||||
import net.i2p.client.streaming.RetransmissionTimer;
|
||||
import net.i2p.util.SimpleTimer;
|
||||
|
||||
/**
|
||||
* Start from command line
|
||||
@@ -39,8 +38,8 @@ public class Main {
|
||||
*/
|
||||
public static void main(String[] args) {
|
||||
// THINK THINK THINK THINK THINK THINK
|
||||
SimpleTimer Y = RetransmissionTimer.getInstance();
|
||||
RetransmissionTimer Y = RetransmissionTimer.getInstance();
|
||||
BOB.main(args);
|
||||
Y.removeSimpleTimer();
|
||||
Y.stop();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user