drcl.intserv
Class SpecR
java.lang.Object
drcl.DrclObj
drcl.intserv.SpecR
- All Implemented Interfaces:
- java.lang.Cloneable, ObjectDuplicable, java.io.Serializable
- Direct Known Subclasses:
- SpecR_DCTS, SpecR_GR, SpecR_PTSP
- public abstract class SpecR
- extends DrclObj
- See Also:
- Serialized Form
|
Constructor Summary |
SpecR()
|
|
Method Summary |
abstract int |
compareWith(SpecR rspec)
Returns 1 if this > rspec; 0 if this == rspec
and -1 if this < rspec. |
boolean |
getActivated()
|
abstract int |
getBuffer()
Returns the buffer requirement for this Rspec. |
abstract int |
getBW()
Returns the bandwidth requirement for this Rspec. |
int |
getHandle()
|
abstract SpecR |
merge(SpecR rspec_)
|
abstract void |
perHopAdjust()
Adjust the rspecs when backing off one hop. |
void |
setActivated(boolean v)
A flow must be activated before its packets can be scheduled by the
scheduler as QoS packets. |
void |
setHandle(int h)
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
TIGHT
public static final int TIGHT
- See Also:
- Constant Field Values
EQUAL
public static final int EQUAL
- See Also:
- Constant Field Values
LOOSE
public static final int LOOSE
- See Also:
- Constant Field Values
UNCOMPARABLE
public static final int UNCOMPARABLE
- See Also:
- Constant Field Values
WRONGCLASS
public static final int WRONGCLASS
- See Also:
- Constant Field Values
handle
public transient int handle
activated
public transient boolean activated
SpecR
public SpecR()
setHandle
public void setHandle(int h)
getHandle
public int getHandle()
setActivated
public void setActivated(boolean v)
- A flow must be activated before its packets can be scheduled by the
scheduler as QoS packets.
getActivated
public boolean getActivated()
getBW
public abstract int getBW()
- Returns the bandwidth requirement for this Rspec.
getBuffer
public abstract int getBuffer()
- Returns the buffer requirement for this Rspec.
merge
public abstract SpecR merge(SpecR rspec_)
compareWith
public abstract int compareWith(SpecR rspec)
- Returns 1 if this > rspec; 0 if this == rspec
and -1 if this < rspec.
perHopAdjust
public abstract void perHopAdjust()
- Adjust the rspecs when backing off one hop.
toString
public java.lang.String toString()
- Overrides:
toString in class DrclObj
Copyright © 1998-2003 Distributed Real-time Computing Lab (DRCL). All Rights Reserved. ~ To J-Sim Home ~