|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DiffServModel
Generic diffserv model interface
Method Summary | |
---|---|
float[] |
addReservation(Domain domain,
int priority,
float bw,
float[] bc,
float[] rbwArray,
float mrbw)
Adds a reservation at a given priority to the rbw array. |
boolean |
checkModelConstraints(Domain domain,
int priority,
float bw,
float[] bc,
float[] rbwArray,
float mrbw)
Checks the constraints of the model if bw is added at priority . |
float |
getReservableBandwidth(Domain domain,
int priority,
float[] bc,
float[] rbw,
float mrbw)
Returns the reservable bandwidth at given priority level. |
float |
getReservedBandwidth(Domain domain,
int priority,
float[] bc,
float[] rbw)
Returns the reserved bandwidth at given priority level in the class type to which priority belongs. |
float |
getTotalReservedBandwidth(Domain domain,
int preemptionLevel,
float[] bc,
float[] rbw)
Returns the total reserved bandwidth among all class types at a given preemption level. |
float[] |
removeReservation(Domain domain,
int priority,
float bw,
float[] bc,
float[] rbwArray,
float mrbw)
Removes a reservation at a given priority to the rbw array. |
Method Detail |
---|
float getReservableBandwidth(Domain domain, int priority, float[] bc, float[] rbw, float mrbw)
domain
- priority
- bc
- rbw
- mrbw
-
float getReservedBandwidth(Domain domain, int priority, float[] bc, float[] rbw)
domain
- priority
- bc
- rbw
-
float getTotalReservedBandwidth(Domain domain, int preemptionLevel, float[] bc, float[] rbw)
domain
- preemptionLevel
- bc
- rbw
-
boolean checkModelConstraints(Domain domain, int priority, float bw, float[] bc, float[] rbwArray, float mrbw)
bw
is added at priority
.
domain
- priority
- bw
- bc
- rbwArray
- mrbw
-
float[] addReservation(Domain domain, int priority, float bw, float[] bc, float[] rbwArray, float mrbw) throws LinkCapacityExceededException
domain
- priority
- bw
- bc
- rbwArray
- mrbw
-
LinkCapacityExceededException
- if the constraints cannot be satisfied.float[] removeReservation(Domain domain, int priority, float bw, float[] bc, float[] rbwArray, float mrbw) throws LinkCapacityExceededException
domain
- priority
- bw
- bc
- rbwArray
- mrbw
-
LinkCapacityExceededException
- if the constraints are no longer satisfied.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |