|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--Packet | +--RoutingInfoPacket
A RoutingInfoPacket is a packet containing a distance vector.
Field Summary |
Fields inherited from class Packet |
BROADCAST, DATA, ROUTING_INFO, ROUTING_REQUEST |
Constructor Summary | |
RoutingInfoPacket(java.lang.String src,
java.lang.String dest,
java.util.SortedMap dv)
new RoutingInfoPacket(src, dest, dv) returns a RoutingInfoPacket. |
Method Summary | |
java.util.SortedMap |
getDistanceVector()
pkt.getDistanceVector() returns the distance vector contained in pkt. |
Methods inherited from class Packet |
getDestination, getSerialNumber, getSource, getType, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public RoutingInfoPacket(java.lang.String src, java.lang.String dest, java.util.SortedMap dv)
Method Detail |
public java.util.SortedMap getDistanceVector()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |