J-Sim v1.2.1-p7 API

drcl.diffserv
Class DFProfile

java.lang.Object
  extended bydrcl.DrclObj
      extended bydrcl.diffserv.DFProfile
All Implemented Interfaces:
java.lang.Cloneable, ObjectDuplicable, java.io.Serializable

public class DFProfile
extends DrclObj

This class defines a profile for Diffserv. It is simply a container of a Meter and a Marker.

See Also:
Serialized Form

Constructor Summary
DFProfile()
           
 
Method Summary
 void duplicate(java.lang.Object source_)
          Duplicates the marker and meter from source_.
 Marker getMarker()
          Returns the installed marker.
 Meter getMeter()
          Returns the installed meter.
 java.lang.String info(java.lang.String prefix_)
          Prints out the content of the installed marker and meter.
 void reset()
          Resets the installed marker and meter.
 void set(Marker marker_, Meter meter_)
          Intalls the marker and meter to this profile.
 void setMarker(Marker m_)
          Intalls the marker to this profile.
 void setMeter(Meter m_)
          Intalls the meter to this profile.
 
Methods inherited from class drcl.DrclObj
clone, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DFProfile

public DFProfile()
Method Detail

reset

public void reset()
Resets the installed marker and meter.


info

public java.lang.String info(java.lang.String prefix_)
Prints out the content of the installed marker and meter.


duplicate

public void duplicate(java.lang.Object source_)
Duplicates the marker and meter from source_.

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

set

public void set(Marker marker_,
                Meter meter_)
Intalls the marker and meter to this profile.


setMarker

public void setMarker(Marker m_)
Intalls the marker to this profile.


setMeter

public void setMeter(Meter m_)
Intalls the meter to this profile.


getMeter

public Meter getMeter()
Returns the installed meter.


getMarker

public Marker getMarker()
Returns the installed marker.


J-Sim v1.2.1-p7 API

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