DRCL J-Sim API

drcl.intserv
Class SpecFlow

java.lang.Object
  extended bydrcl.DrclObj
      extended bydrcl.intserv.SpecFlow
All Implemented Interfaces:
java.lang.Cloneable, ObjectCloneable, ObjectDuplicable, java.io.Serializable

public class SpecFlow
extends DrclObj

See Also:
Serialized Form

Field Summary
 int handle
           
 SpecR rspec
           
 TrafficModel tspec
           
 
Constructor Summary
SpecFlow()
           
SpecFlow(TrafficModel tspec_, SpecR rspec_)
           
 
Method Summary
 void duplicate(java.lang.Object source_)
          opies the content of the source_ object to this object.
 int getHandle()
          Returns the handle of this flowspec.
 SpecR getRspec()
           
 TrafficModel getTspec()
           
 boolean isActivated()
          Returns true if the flowspec is activated.
 void merge(SpecFlow that_)
          Merge that_ into this flowspec.
 void perHopAdjust()
          Adjusts the rspec at a hop toward the sender.
 java.lang.String toString()
           
 
Methods inherited from class drcl.DrclObj
clone
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

rspec

public SpecR rspec

tspec

public TrafficModel tspec

handle

public int handle
Constructor Detail

SpecFlow

public SpecFlow()

SpecFlow

public SpecFlow(TrafficModel tspec_,
                SpecR rspec_)
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().

Specified by:
duplicate in interface ObjectDuplicable
Overrides:
duplicate in class DrclObj

merge

public void merge(SpecFlow that_)
Merge that_ into this flowspec.


perHopAdjust

public void perHopAdjust()
Adjusts the rspec at a hop toward the sender.


toString

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

getHandle

public int getHandle()
Returns the handle of this flowspec.


isActivated

public boolean isActivated()
Returns true if the flowspec is activated.


getRspec

public SpecR getRspec()

getTspec

public TrafficModel getTspec()

DRCL J-Sim API

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