|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--SSF.OS.ProtocolMessage
|
+--SSF.OS.OSPFv2.LS_UpdatePacket
This class implements the payload of an OSPF Link State Update Packet.
| Constructor Summary | |
LS_UpdatePacket()
|
|
| Method Summary | |
int |
bytecount()
Return the total size (in bytes) of this LS Update Packet body. |
void |
carryPayload(ProtocolMessage payload)
Append a ProtocolMessage to this ProtocolMessage. |
java.util.Vector |
getLSAs()
return a Vector of all LSAs contained in this LS Update Packet payload. |
int |
header_bytecount()
Return the size (in bytes) of this header only, don't include a payload. |
int |
numberOfLSAs()
return the total number of LSAs stored in this LS Update payload. |
void |
put(LSA lsa)
append an LSA to this LS Update Packet payload. |
java.lang.String |
toString()
|
| Methods inherited from class SSF.OS.ProtocolMessage |
copy, dropHeader, dropPayload, frombytes, fromVersion, payload, previous, size, tobytes, version |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public LS_UpdatePacket()
| Method Detail |
public void put(LSA lsa)
public java.util.Vector getLSAs()
public int numberOfLSAs()
public void carryPayload(ProtocolMessage payload)
ProtocolMessage
carryPayload in class ProtocolMessagepublic int bytecount()
bytecount in class ProtocolMessagepublic int header_bytecount()
header_bytecount in class ProtocolMessagepublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||