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 SummaryConstructors Constructor Description DummyThrottle()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidchoke(Hash peer)booleanisChoked(Hash peer)voidunchoke(Hash peer)
 
- 
- 
- 
Method Detail- 
chokepublic void choke(Hash peer) - Specified by:
- chokein interface- OutboundMessageFragments.ActiveThrottle
 
 - 
unchokepublic void unchoke(Hash peer) - Specified by:
- unchokein interface- OutboundMessageFragments.ActiveThrottle
 
 - 
isChokedpublic boolean isChoked(Hash peer) - Specified by:
- isChokedin interface- OutboundMessageFragments.ActiveThrottle
 
 
- 
 
-