SSF.OS.OSPFv2
Class Neighbor.LastRecDDPacket
java.lang.Object
|
+--SSF.OS.OSPFv2.Neighbor.LastRecDDPacket
- Enclosing class:
- Neighbor
- public class Neighbor.LastRecDDPacket
- extends java.lang.Object
A class in which the important information of the last received DD packet are
recorded. These are the Initialize, More and Master bits the options and the
sequence number.
|
Method Summary |
boolean |
checkOnDuplicate(DD_Packet content)
checks whether the DD Packet just received is a duplicate. |
void |
clear()
clears this structure. |
void |
set(boolean init,
boolean mo,
boolean ma,
boolean[] opt,
int DDSeqNum)
saves the important values for identifying duplicates of a new received DD Packet |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
initialize
public boolean initialize
more
public boolean more
isMaster
public boolean isMaster
options
public boolean[] options
DDSeqNum
public int DDSeqNum
Neighbor.LastRecDDPacket
public Neighbor.LastRecDDPacket()
set
public void set(boolean init,
boolean mo,
boolean ma,
boolean[] opt,
int DDSeqNum)
- saves the important values for identifying duplicates of a new received DD Packet
clear
public void clear()
- clears this structure. Used when the Inactivity Timer expires.
checkOnDuplicate
public boolean checkOnDuplicate(DD_Packet content)
- checks whether the DD Packet just received is a duplicate. Returns true if it is a
duplicate, else false.