net.clackrouter.test
Class ClackRouterTest

java.lang.Object
  extended by net.clackrouter.test.ClackRouterTest

public class ClackRouterTest
extends java.lang.Object

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

mRouter

protected Router mRouter
Constructor Detail

ClackRouterTest

public ClackRouterTest()
Method Detail

startTest

public void startTest(Router router)

processPacket

public void processPacket(VNSEthernetPacket packet)