|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.clackrouter.test.ClackRouterTest
public class ClackRouterTest
This is an example of how one could perform an external "black box" test on a router, by applying a packet to the router and then test what the router replies with.
Note: This should be pulled out into an interface, so anyone can implement it to perform a test.
Field Summary | |
---|---|
protected Router |
mRouter
|
Constructor Summary | |
---|---|
ClackRouterTest()
|
Method Summary | |
---|---|
void |
processPacket(VNSEthernetPacket packet)
|
void |
startTest(Router router)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected Router mRouter
Constructor Detail |
---|
public ClackRouterTest()
Method Detail |
---|
public void startTest(Router router)
public void processPacket(VNSEthernetPacket packet)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |