|
DRCL J-Sim API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectdrcl.net.traffic.TrafficAssistant
TrafficAssistant is a utility class which helps to get the
corresponding TrafficShaper or TrafficSourceComponent
from a TrafficModel.
??????
To ease the task, TrafficAssistant expects:
| Constructor Summary | |
TrafficAssistant()
|
|
| Method Summary | |
static TrafficComponent |
getTrafficComponent(TrafficModel traffic_)
Returns a TrafficComponent instance for the given traffic model.
|
static TrafficShaper |
getTrafficShaper(TrafficModel traffic_)
Returns a TrafficShaper instance for the given traffic model. |
static TrafficSourceComponent |
getTrafficSource(TrafficModel traffic_,
TrafficModel shaperTraffic_)
Returns a TrafficSourceComponent instance for the given source
traffic model and the shaper traffic model. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public TrafficAssistant()
| Method Detail |
public static TrafficSourceComponent getTrafficSource(TrafficModel traffic_,
TrafficModel shaperTraffic_)
TrafficSourceComponent instance for the given source
traffic model and the shaper traffic model.
public static TrafficComponent getTrafficComponent(TrafficModel traffic_)
TrafficComponent instance for the given traffic model.
The component returned may be a TrafficSourceComponent or a
TrafficShaperComponent,
depending on the nature of the traffic model.
public static TrafficShaper getTrafficShaper(TrafficModel traffic_)
TrafficShaper instance for the given traffic model.
|
DRCL J-Sim API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||