|
DRCL J-Sim API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectdrcl.DrclObj
drcl.intserv.Admission
drcl.intserv.scheduler.admission_PTSP
Works with TrafficModel that implements TrafficPeriodic,
SpecR_PTSP and traffic shaper for traffic_Periodic.
The admission test is conducted by calculating
the minimum worst-case traversal time (non-preemptive version).
SpecR_PTSP,
TrafficModel,
TrafficPeriodic,
traffic_Periodic,
Serialized Form| Constructor Summary | |
admission_PTSP()
|
|
| Method Summary | |
SpecAd |
advertisement(SpecAd adspec_)
Returns a new Adspec that summarizes the QoS of the path from the sender up to the current hop. |
double |
MWTT(int handle_,
SpecR_PTSP rspec_)
|
SpecFlow |
removeFlowspec(int handle_)
Removes an installed flowspec by its handle. |
void |
reset()
Resets to the initial state. |
SpecFlow |
setFlowspec(int handle_,
long[] tos_,
long[] tosmask_,
SpecFlow fspec_)
Installs a new flowspec or changes an existing flowspec with the specified handle. |
| Methods inherited from class drcl.intserv.Admission |
addFlowspec, addFlowspec, addFlowspec, duplicate, getScheduler, info, removeAllFlowspecs |
| Methods inherited from class drcl.DrclObj |
clone, toString |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public admission_PTSP()
| Method Detail |
public void reset()
Admission
reset in class Admission
public SpecFlow setFlowspec(int handle_,
long[] tos_,
long[] tosmask_,
SpecFlow fspec_)
Admissionfspec_ is set to either
a valid value (success) or a negative value (failure).
A subclass may need to override this method to create its own
data structure for the successfully installed flow.
setFlowspec in class Admissionhandle_ - the handle assigned to this flow, -1 if installing a new flow.tos_ - ID's of flows that share the flowspec.tosmask_ - masks of flow ID's.fspec_ - the flowspec.
public SpecFlow removeFlowspec(int handle_)
Admission
removeFlowspec in class Admissionpublic SpecAd advertisement(SpecAd adspec_)
Admission
advertisement in class Admission
public double MWTT(int handle_,
SpecR_PTSP rspec_)
|
DRCL J-Sim API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||