public interface OspfAgent
| Modifier and Type | Method and Description |
|---|---|
boolean |
addConnectedRouter(OspfRouter ospfRouter)
Adds a router that has just connected to the system.
|
void |
addLink(OspfRouter ospfRouter,
OspfLinkTed ospfLinkTed)
Notifies that got a packet of link from network and need to add the link.
|
void |
deleteLink(OspfRouter ospfRouter,
OspfLinkTed ospfLinkTed)
Notifies that got a packet of link from network and need do delete the link.
|
void |
removeConnectedRouter(OspfRouter ospfRouter)
Removes the router which got disconnected from the system.
|
boolean addConnectedRouter(OspfRouter ospfRouter)
ospfRouter - the router id to addvoid removeConnectedRouter(OspfRouter ospfRouter)
ospfRouter - the router id to removevoid addLink(OspfRouter ospfRouter, OspfLinkTed ospfLinkTed)
ospfRouter - router instanceospfLinkTed - link TED instancevoid deleteLink(OspfRouter ospfRouter, OspfLinkTed ospfLinkTed)
ospfRouter - router instanceospfLinkTed - link TED instance