drcl.inet.protocol.dvmrp
Class DVMRPRTExtension
java.lang.Object
drcl.DrclObj
drcl.inet.protocol.dvmrp.DVMRPRTExtension
- All Implemented Interfaces:
- java.lang.Cloneable, ObjectDuplicable, java.io.Serializable
- public class DVMRPRTExtension
- extends DrclObj
Routing table entry extension for DVMRP.
Specifically, it keeps the interfaces and the addresses of the downstream dependents,
the metric of the routing entry, and the "changed" flag.
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
DVMRPRTExtension
public DVMRPRTExtension()
DVMRPRTExtension
public DVMRPRTExtension(int metric_)
DVMRPRTExtension
public DVMRPRTExtension(int metric_,
BitSet dependentIfs_,
long[] dependents_,
boolean changed_)
duplicate
public void duplicate(java.lang.Object source_)
- Description copied from class:
DrclObj
- opies the content of the
source_ object to this object.
he subclass must implement this method to realize DrclObj.clone().
- Specified by:
duplicate in interface ObjectDuplicable- Overrides:
duplicate in class DrclObj
resetDependents
public void resetDependents(BitSet dependentIfs_)
resetDependents
public void resetDependents()
getDependentIndex
public int getDependentIndex(long target_)
- Returns:
- a valid (>=0) interface index if
target_ is one of the dependents
setDependent
public void setDependent(int index_,
long dependent_)
toString
public java.lang.String toString()
- Overrides:
toString in class DrclObj
getTitle
public static java.lang.String getTitle()
Copyright © 1998-2003 Distributed Real-time Computing Lab (DRCL). All Rights Reserved. ~ To J-Sim Home ~