public interface LsaBin
| Modifier and Type | Method and Description |
|---|---|
void |
addOspfLsa(java.lang.String lsaKey,
LsaWrapper lsaWrapper)
Adds the given LSA to this bin with the given key.
|
int |
binNumber()
Gets the bin number assigned during the initialization process of the bins .
|
java.util.Map<java.lang.String,LsaWrapper> |
listOfLsa()
Gets the list of LSAs in this bin as key value pair.
|
LsaWrapper |
ospfLsa(java.lang.String lsaKey)
Retrieves the LSA from the bin for verification of max age and ls refresh.
|
void |
removeOspfLsa(java.lang.String lsaKey,
LsaWrapper lsaWrapper)
Removes the given LSA from the bin.
|
void addOspfLsa(java.lang.String lsaKey,
LsaWrapper lsaWrapper)
lsaKey - key of the stored LSAlsaWrapper - wrapper instance to storeLsaWrapper ospfLsa(java.lang.String lsaKey)
lsaKey - key to search the LSAvoid removeOspfLsa(java.lang.String lsaKey,
LsaWrapper lsaWrapper)
lsaKey - key to search LSAlsaWrapper - wrapper instance of the particular LSAjava.util.Map<java.lang.String,LsaWrapper> listOfLsa()
int binNumber()