|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectSim.Routing.DSR.RouteError
public class RouteError
RouteError tells nodes about a broken link from one point to another.
Constructor Summary | |
---|---|
RouteError(int linkStart,
int linkEnd)
|
Method Summary | |
---|---|
int |
getLinkEnd()
Returns the second (ending) node of the broken link. |
int |
getLinkStart()
Returns the first (starting) node of the broken link. |
int |
getSize()
Returns the "serialized" size of this portion of the packet, in bytes. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public RouteError(int linkStart, int linkEnd)
Method Detail |
---|
public int getLinkStart()
public int getLinkEnd()
public int getSize()
getSize
in interface ProtocolFrame
public 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 |