|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Admission Control/Queuing for a Link. A LinkManager decides which flows are blocked and which are accepted. It does also modify the bandwidth of the flows on the link. LinkManagers are used to model network interfaces on a node.
Link
,
Node
Method Summary | |
long |
add(Flow flow)
Add new flow. |
void |
attach_monitor(LinkManagerMonitor lmm)
Attach a LinkManagerMonitor, which will then be notified when a flow is added, removed or when it's bandwidth was changed. |
void |
bw_changed(Flow flow)
Called when the bandwidth of a flow is changed (usually when it is made smaller by other linkmanagers. |
void |
detach_monitor(LinkManagerMonitor lmm)
Detach a LinkManagerMonitor. |
com.sun.java.util.collections.Iterator |
flows()
Get the flows managed by this LinkManager. |
Link |
get_link()
Get managed link. |
Node |
get_peer()
Get node on the other side of the link. |
int |
get_rbw_notbe()
Get residual bandwith without counting best-effort. |
int |
get_reservable_bw()
Get reservable bandwidth (bandwidth useable by non-be flows). |
void |
remove(Flow flow)
Remove flow. |
Method Detail |
public com.sun.java.util.collections.Iterator flows()
public Node get_peer()
public Link get_link()
public int get_rbw_notbe()
public int get_reservable_bw()
public long add(Flow flow)
public void bw_changed(Flow flow)
public void remove(Flow flow)
public void attach_monitor(LinkManagerMonitor lmm)
public void detach_monitor(LinkManagerMonitor lmm)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |