DRCL J-Sim API

drcl.inet.protocol.aodv
Class AODV_TimeOut_EVT

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

public class AODV_TimeOut_EVT
extends java.lang.Object

Class AODV_TimeOut_EVT Class for handling tiom out event The timeout event objects dedicated for AODV package. This timeout event is able to carrier an object when it is set. When the timeout happens, we can process the object carried in the timeout event.

Author:
Wei-peng Chen, Hung-ying Tyan
See Also:
AODV

Field Summary
static int AODV_TIMEOUT_BCAST_ID
           
static int AODV_TIMEOUT_DELAY_BROADCAST
           
static int AODV_TIMEOUT_DELAY_FORWARD
           
static int AODV_TIMEOUT_HELLO
           
static int AODV_TIMEOUT_LOCAL_REPAIR
           
static int AODV_TIMEOUT_NBR
           
static int AODV_TIMEOUT_ROUTE
           
 
Constructor Summary
AODV_TimeOut_EVT(int tp_)
          Constructor
AODV_TimeOut_EVT(int tp_, java.lang.Object obj_)
          Constructor
 
Method Summary
 int getEVT_Type()
           
 java.lang.Object getObject()
           
 void setEVT_Type(int tp_)
          Functions to set or get information for a event
 void setObject(java.lang.Object obj_)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

AODV_TIMEOUT_BCAST_ID

public static final int AODV_TIMEOUT_BCAST_ID
See Also:
Constant Field Values

AODV_TIMEOUT_HELLO

public static final int AODV_TIMEOUT_HELLO
See Also:
Constant Field Values

AODV_TIMEOUT_NBR

public static final int AODV_TIMEOUT_NBR
See Also:
Constant Field Values

AODV_TIMEOUT_ROUTE

public static final int AODV_TIMEOUT_ROUTE
See Also:
Constant Field Values

AODV_TIMEOUT_LOCAL_REPAIR

public static final int AODV_TIMEOUT_LOCAL_REPAIR
See Also:
Constant Field Values

AODV_TIMEOUT_DELAY_FORWARD

public static final int AODV_TIMEOUT_DELAY_FORWARD
See Also:
Constant Field Values

AODV_TIMEOUT_DELAY_BROADCAST

public static final int AODV_TIMEOUT_DELAY_BROADCAST
See Also:
Constant Field Values
Constructor Detail

AODV_TimeOut_EVT

public AODV_TimeOut_EVT(int tp_)
Constructor


AODV_TimeOut_EVT

public AODV_TimeOut_EVT(int tp_,
                        java.lang.Object obj_)
Constructor

Method Detail

toString

public java.lang.String toString()

setEVT_Type

public void setEVT_Type(int tp_)
Functions to set or get information for a event


getEVT_Type

public int getEVT_Type()

setObject

public void setObject(java.lang.Object obj_)

getObject

public java.lang.Object getObject()

DRCL J-Sim API

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