|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectSim.Routing.DSR.FloodingHeader
public abstract class FloodingHeader
FloodingHeader is a generic header for any type of flooded packet.
Constructor Summary | |
---|---|
FloodingHeader(int hopsRemaining)
|
Method Summary | |
---|---|
int |
getHopsRemaining()
|
int |
getSize()
Returns the "serialized" size of this portion of the packet. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FloodingHeader(int hopsRemaining)
Method Detail |
---|
public int getHopsRemaining()
public int getSize()
getSize
in interface ProtocolFrame
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |