|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.i2p.router.tunnel.FragmentTest
net.i2p.router.tunnel.BatchedFragmentTest
Test the batching behavior of the preprocessor with one, two, or three messages of various sizes and settings.
Nested Class Summary |
Nested classes inherited from class net.i2p.router.tunnel.FragmentTest |
FragmentTest.DefragmentedReceiverImpl, FragmentTest.ReceiverImpl, FragmentTest.SenderImpl |
Field Summary |
Fields inherited from class net.i2p.router.tunnel.FragmentTest |
_context, _log |
Constructor Summary | |
BatchedFragmentTest()
|
Method Summary | |
protected TunnelGateway.QueuePreprocessor |
createPreprocessor(I2PAppContext ctx)
|
static void |
main(java.lang.String[] args)
|
void |
runBatched()
Send a small message, wait a second, then send a large message, pushing the first one through immediately, with the rest of the large one passed after a brief delay. |
void |
runBatches()
Send a small message, wait a second, then send a large message, pushing the first one through immediately, with the rest of the large one passed after a brief delay. |
void |
runTests()
|
Methods inherited from class net.i2p.router.tunnel.FragmentTest |
createPending, runDelayed, runMultiple, runSingle, runVaried, runVaried |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public BatchedFragmentTest()
Method Detail |
protected TunnelGateway.QueuePreprocessor createPreprocessor(I2PAppContext ctx)
createPreprocessor
in class FragmentTest
public void runBatched()
public void runBatches()
public void runTests()
runTests
in class FragmentTest
public static void main(java.lang.String[] args)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |