public interface LsaWrapper
| Modifier and Type | Method and Description |
|---|---|
int |
ageCounterWhenReceived()
Gets the age counter when received.
|
int |
binNumber()
Gets bin number into which the LSA wrapper is put for aging process.
|
int |
currentAge()
Gets the current LSA Age, using this we calculate current age.
|
boolean |
isSelfOriginated()
Determines the origination of LSA , this is called during ls refresh interval.
|
int |
lsaAgeReceived()
Age of LSA when received during the adjacency formation.
|
java.lang.String |
lsaProcessing()
Gets the LSA process command, like max age, ls refresh, based on the command set.
|
OspfLsaType |
lsaType()
Gets the type of LSA, it can be a router,network,summary,external.
|
OspfInterface |
ospfInterface()
Gets the interface on which the LSA was received.
|
OspfLsa |
ospfLsa()
Gets the LSA present in the wrapper instance.
|
void |
setAgeCounterWhenReceived(int ageCounterWhenReceived)
Sets the age counter when received.
|
void |
setBinNumber(int binNumber)
Sets bin number into which the LSA wrapper is put for aging process.
|
void |
setIsSelfOriginated(boolean isSelfOriginated)
Sets is self originated or not.
|
void |
setLsaAgeReceived(int lsaAgeReceived)
Sets the Age of LSA when received during the adjacency formation.
|
void |
setLsaProcessing(java.lang.String lsaProcessing)
Sets the LSA process command, like max age , ls refresh , based on the command set.
|
void |
setLsaType(OspfLsaType lsaType)
Sets the LSA type during the initialization of wrapper.
|
void |
setLsdbAge(LsdbAge lsdbAge)
Sets the LSDB age.
|
void |
setOspfInterface(OspfInterface ospfInterface)
Sets the interface on which the LSA was received, this is used later to flood the information.
|
void |
setOspfLsa(OspfLsa ospfLsa)
Sets the LSA instance to the wrapper.
|
OspfLsaType lsaType()
void setLsaType(OspfLsaType lsaType)
lsaType - lsa typeboolean isSelfOriginated()
void setIsSelfOriginated(boolean isSelfOriginated)
isSelfOriginated - true if self originated else falseint lsaAgeReceived()
void setLsaAgeReceived(int lsaAgeReceived)
lsaAgeReceived - Age of LSA when receivedOspfLsa ospfLsa()
void setOspfLsa(OspfLsa ospfLsa)
ospfLsa - LSA instanceint currentAge()
int ageCounterWhenReceived()
void setAgeCounterWhenReceived(int ageCounterWhenReceived)
ageCounterWhenReceived - the age counter when receivedjava.lang.String lsaProcessing()
void setLsaProcessing(java.lang.String lsaProcessing)
lsaProcessing - lsa process commandint binNumber()
void setBinNumber(int binNumber)
binNumber - bin numberOspfInterface ospfInterface()
void setOspfInterface(OspfInterface ospfInterface)
ospfInterface - interface instancevoid setLsdbAge(LsdbAge lsdbAge)
lsdbAge - lsdbAge instance