Engine

Engine

Description: TODO

Constructors

this
this(Config config)

1. This must read config given to it 2. Setups links 3. Create new Router with these links 4. Spawn a Switch that handles packet in/out 5. Pass the Switch the router 6. Start the switch 7. We must then mainloop and collect statistics and handle shutdown etc

Members

Functions

getLinks
Link[] getLinks()
Undocumented in source. Be warned that the author may not have intended to support it.
getRouter
Router getRouter()
Undocumented in source. Be warned that the author may not have intended to support it.
getSwitch
Switch getSwitch()
Undocumented in source. Be warned that the author may not have intended to support it.
launch
void launch()
Undocumented in source. Be warned that the author may not have intended to support it.
newPacket
void newPacket(Packet packet)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta