DRCL J-Sim API

drcl.inet.protocol.aodv
Class AODV_RREP

java.lang.Object
  extended bydrcl.inet.protocol.aodv.AODV_RREP

public class AODV_RREP
extends java.lang.Object

AODV Route Reply (RREP) packet body ref: Sec. 4.2 Note: type = 1

Author:
Wei-peng Chen

Field Summary
static int INTEGER_SIZE
           
 long rp_dst
          Destination IP Address
 int rp_dst_seqno
          Destination Sequence Number
 int rp_hop_count
          Hop Count
 double rp_lifetime
          Lifetime
 long rp_src
          Source IP Address
 double rp_timestamp
          when corresponding REQ sent; used to compute route discovery latency
 int rp_type
          Packet Type
 
Constructor Summary
AODV_RREP()
           
 
Method Summary
 java.lang.Object clone()
           
 void duplicate(java.lang.Object source_)
           
 int size()
          return the size of the payload in the RREP packet
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

INTEGER_SIZE

public static final int INTEGER_SIZE
See Also:
Constant Field Values

rp_type

public int rp_type
Packet Type


rp_hop_count

public int rp_hop_count
Hop Count


rp_dst

public long rp_dst
Destination IP Address


rp_dst_seqno

public int rp_dst_seqno
Destination Sequence Number


rp_src

public long rp_src
Source IP Address


rp_lifetime

public double rp_lifetime
Lifetime


rp_timestamp

public double rp_timestamp
when corresponding REQ sent; used to compute route discovery latency

Constructor Detail

AODV_RREP

public AODV_RREP()
Method Detail

size

public int size()
return the size of the payload in the RREP packet


clone

public java.lang.Object clone()

duplicate

public void duplicate(java.lang.Object source_)

toString

public java.lang.String toString()

DRCL J-Sim API

Copyright © 1998-2003 Distributed Real-time Computing Lab (DRCL). All Rights Reserved.     ~ To J-Sim Home ~