Sim.Routing.DSR
Class RouteReply

java.lang.Object
  extended by Sim.Routing.DSR.RouteReply
All Implemented Interfaces:
ProtocolFrame

public class RouteReply
extends java.lang.Object
implements ProtocolFrame

RouteReply contains a response to a RouteRequest by holding a complete path from originator to desired destination.


Constructor Summary
RouteReply(Route pathToTarget)
           
 
Method Summary
 Route getRouteReply()
           
 int getSize()
          Returns the "serialized" size of this portion of the packet.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RouteReply

public RouteReply(Route pathToTarget)
Method Detail

getRouteReply

public Route getRouteReply()

getSize

public int getSize()
Returns the "serialized" size of this portion of the packet.

Specified by:
getSize in interface ProtocolFrame

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object