Package net.i2p.router.transport.udp
Class DummyThrottle
java.lang.Object
net.i2p.router.transport.udp.DummyThrottle
- All Implemented Interfaces:
OutboundMessageFragments.ActiveThrottle
class DummyThrottle extends Object implements OutboundMessageFragments.ActiveThrottle
Since the TimedWeightedPriorityMessageQueue.add()
was disabled by jrandom in UDPTransport.java
on 2006-02-19, and the choke/unchoke was disabled at the same time,
all of TWPMQ is pointless, so just do this for now.
It appears from his comments that it was a lock contention issue,
so perhaps TWPMQ can be converted to concurrent and re-enabled.
- Since:
- 0.7.12
-
Constructor Summary
Constructors Constructor Description DummyThrottle()
-
Method Summary
-
Constructor Details
-
DummyThrottle
public DummyThrottle()
-
-
Method Details
-
choke
- Specified by:
choke
in interfaceOutboundMessageFragments.ActiveThrottle
-
unchoke
- Specified by:
unchoke
in interfaceOutboundMessageFragments.ActiveThrottle
-
isChoked
- Specified by:
isChoked
in interfaceOutboundMessageFragments.ActiveThrottle
-