public class FragmentTest extends Object
| Modifier and Type | Class and Description |
|---|---|
protected class |
FragmentTest.DefragmentedReceiverImpl |
protected class |
FragmentTest.ReceiverImpl |
protected class |
FragmentTest.SenderImpl |
| Modifier and Type | Field and Description |
|---|---|
protected static RouterContext |
_context |
| Constructor and Description |
|---|
FragmentTest() |
| Modifier and Type | Method and Description |
|---|---|
protected PendingGatewayMessage |
createPending(int size,
boolean includeRouter,
boolean includeTunnel) |
protected TunnelGateway.QueuePreprocessor |
createPreprocessor(RouterContext ctx) |
static void |
globalSetUp() |
void |
runDelayed()
Send a fragmented message, except wait a while between each fragment, causing
the defragmentation to fail (since the fragments will expire)
|
void |
runVaried() |
protected boolean |
runVaried(int size,
boolean includeRouter,
boolean includeTunnel) |
void |
set() |
void |
testMultiple()
Send a message with two fragments through with no delay
|
void |
testSingle()
Send a message that fits inside a single fragment through
|
protected static RouterContext _context
public static void globalSetUp()
public void set()
protected TunnelGateway.QueuePreprocessor createPreprocessor(RouterContext ctx)
public void testSingle()
public void testMultiple()
throws Exception
Exceptionpublic void runDelayed()
public void runVaried()
protected boolean runVaried(int size,
boolean includeRouter,
boolean includeTunnel)
protected PendingGatewayMessage createPending(int size, boolean includeRouter, boolean includeTunnel)