DRCL JavaSim API

drcl.inet.protocol.dvmrp
Class DVMRPFCExtension

java.lang.Object
  |
  +--drcl.DrclObj
        |
        +--drcl.inet.protocol.dvmrp.DVMRPFCExtension
All Implemented Interfaces:
java.lang.Cloneable, ObjectDuplicable, java.io.Serializable

public class DVMRPFCExtension
extends DrclObj

Forwarding cache entry extension for DVMRP. Specifically, it keeps the upstream node address, the prune expiration times, graft ack timeout and backoff, and the sentPruneUpstream flag.

See Also:
Serialized Form

Constructor Summary
DVMRPFCExtension()
           
DVMRPFCExtension(long upstream_, BitSet dependentIfs_)
           
 
Method Summary
 void clearPendingGraft()
           
 java.lang.Object clone()
          Returns a clone of this object.
 void duplicate(java.lang.Object source_)
          opies the content of the source_ object to this object.
 double getPruneExpire(int index_)
           
 void graftAckExpBackOff(double now_, double base_)
           
 boolean hasPendingGraft()
           
 void resetPrune(BitSet dependentIfs_)
           
 void setPruneExpire(int index_, double expire_)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DVMRPFCExtension

public DVMRPFCExtension()

DVMRPFCExtension

public DVMRPFCExtension(long upstream_,
                        BitSet dependentIfs_)
Method Detail

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().
Overrides:
duplicate in class DrclObj

clone

public java.lang.Object clone()
Description copied from class: DrclObj
Returns a clone of this object. By default, this method creates an object of the same class and calls DrclObj.duplicate(Object) to duplicate the content of this object to the newly-created one.

This method uses getClass().newInstance() to create new instance. Hence, subclasses need to override this method only if the subclass is not declared as public or does not have explicit no-argument constructor. A subclass may override this method for performance reason.

Overrides:
clone in class DrclObj

resetPrune

public void resetPrune(BitSet dependentIfs_)

getPruneExpire

public double getPruneExpire(int index_)

setPruneExpire

public void setPruneExpire(int index_,
                           double expire_)

hasPendingGraft

public boolean hasPendingGraft()

graftAckExpBackOff

public void graftAckExpBackOff(double now_,
                               double base_)

clearPendingGraft

public void clearPendingGraft()

toString

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

DRCL JavaSim API

Copyright © 2001 - DRCL, OSU     ~ Back to JavaSim Home ~