jtc
Class DSMarkQDisc

java.lang.Object
  |
  +--jtc.QDisc
        |
        +--jtc.QDiscWithClass
              |
              +--jtc.DSMarkQDisc

public class DSMarkQDisc
extends jtc.QDiscWithClass

This class represents the dsmark qdisc.


Fields inherited from class jtc.QDisc
device, estInterval, estTimer, ingress, majorHandle, minorHandle, parent
 
Constructor Summary
DSMarkQDisc(java.lang.String device)
          Cosntructs a dsmark qdisc as the root qdisc of the given device
DSMarkQDisc(TCClass parent, short majorHandle)
          Constructs a dsmark qdisc
 
Method Summary
 java.lang.String toString()
          Get a string representation of the object.
 
Methods inherited from class jtc.QDisc
getDevice, getTC, newFilterMinor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DSMarkQDisc

public DSMarkQDisc(java.lang.String device)
Cosntructs a dsmark qdisc as the root qdisc of the given device
Parameters:
device - device to which the qdisc shall be attached to

DSMarkQDisc

public DSMarkQDisc(TCClass parent,
                   short majorHandle)
Constructs a dsmark qdisc
Parameters:
parent - the parent class of the qdisc
majorHandle - the major handle the qdisc shall be identified by
Method Detail

toString

public java.lang.String toString()
Get a string representation of the object. A tc command arg is used to represent it.
Overrides:
toString in class java.lang.Object
Returns:
args for tcd