Ejemplo n.º 1
0
NetworkTopology::RouterContext::RouterContext(NetworkTopology& network) :
    request_interface(network, mac_address),
    runtime(network.now),
    router(runtime, network.get_mib())
{
    router.set_access_interface(&request_interface);
}
Ejemplo n.º 2
0
NetworkTopology::RouterContext::RouterContext(NetworkTopology& network) :
    request_interface(network, mac_address),
    router(network.get_mib(), request_interface)
{
}