jtc
Class DSMarkClass
java.lang.Object
|
+--jtc.TCClass
|
+--jtc.DSMarkClass
- public class DSMarkClass
- extends TCClass
This class represents a dsmark class. It is possible to use it for
remarking. Use a mask value pair.
Constructor Summary |
DSMarkClass(DSMarkQDisc parent,
short minorHandle)
Constructs a dsmark class that does not remark packages |
DSMarkClass(DSMarkQDisc parent,
short minorHandle,
byte mask,
short value)
Constructs a dsmark class that remarks packages |
Method Summary |
java.lang.String |
toString()
Get a string representation of the object. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
DSMarkClass
public DSMarkClass(DSMarkQDisc parent,
short minorHandle)
- Constructs a dsmark class that does not remark packages
- Parameters:
parent
- the dsmark qdisc in which the dsmark class residesminorHandle
- minor handle of the class (major is determined by
parent qdisc)
DSMarkClass
public DSMarkClass(DSMarkQDisc parent,
short minorHandle,
byte mask,
short value)
- Constructs a dsmark class that remarks packages
- Parameters:
parent
- the dsmark qdisc in which the dsmark class residesminorHandle
- minor handle of the class (major is determined by
parent qdisc)mask
- use this mask when remarkingvalue
- remark all packages with this value
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