public class BatchedFragmentTest extends FragmentTest
FragmentTest.DefragmentedReceiverImpl, FragmentTest.ReceiverImpl, FragmentTest.SenderImpl_context| Constructor and Description |
|---|
BatchedFragmentTest() |
| Modifier and Type | Method and Description |
|---|---|
protected TunnelGateway.QueuePreprocessor |
createPreprocessor(RouterContext ctx) |
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 |
setUp() |
void |
testBatched()
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 |
testMultiple()
Send a message with two fragments through with no delay
|
void |
testSingle()
Send a message that fits inside a single fragment through
|
createPending, globalSetUp, runDelayed, runVaried, runVaried, setpublic void setUp()
protected TunnelGateway.QueuePreprocessor createPreprocessor(RouterContext ctx)
createPreprocessor in class FragmentTestpublic void testBatched()
public void testSingle()
testSingle in class FragmentTestpublic void testMultiple()
throws Exception
testMultiple in class FragmentTestExceptionpublic void runBatches()