Class OSPF_Database
java.lang.Object
|
+----OSPF_Database
- public class OSPF_Database
- extends Object
-
Area
-
-
AS
-
-
ASboundary
-
-
ASExt
-
-
numOfNodes
-
-
RouterLink
-
-
SummaryNet
-
-
OSPF_Database(int, int, int)
-
-
getASboundary()
- Returns a list of all the AS boundary routers in this database.
-
getStubNetworks()
- Returns a list of all the stub network links in this database.
-
getSummaryNets()
- Returns a list of all the stub network links in other databases.
-
print()
- Prints this OSPF Database.
-
print(int)
-
-
sameGateway()
-
-
updateRouterLink(int, OSPF_LSA_Node)
-
-
updateSummaryNet(int, LSAList)
- Updates the summary network part of the database, where i is the
node in the summary to update.
AS
public int AS
Area
public int Area
numOfNodes
public int numOfNodes
RouterLink
public LSAList RouterLink[]
SummaryNet
public LSAList SummaryNet[]
ASboundary
public LSAList ASboundary[]
ASExt
public LSAList ASExt[]
OSPF_Database
public OSPF_Database(int as,
int area,
int numNodes)
print
public void print()
- Prints this OSPF Database.
print
public void print(int type)
getStubNetworks
public LSAList getStubNetworks()
- Returns a list of all the stub network links in this database.
getSummaryNets
public LSAList getSummaryNets()
- Returns a list of all the stub network links in other databases.
getASboundary
public LSAList getASboundary()
- Returns a list of all the AS boundary routers in this database.
updateRouterLink
public void updateRouterLink(int i,
OSPF_LSA_Node newNode)
updateSummaryNet
public void updateSummaryNet(int i,
LSAList stub)
- Updates the summary network part of the database, where i is the
node in the summary to update.
sameGateway
public void sameGateway()