|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--edu.cmu.cs.able.probes.RemosProbe.ProbeManager
ProbeManager is "behind" ProbeManageComm, but it is the object that manages probes, ProbeManageComm takes care of the siena message communication so ProbeManager could focus on the work about probe management.
Method Summary | |
ProbeID |
createProbe()
Create a Remos Probe |
boolean |
destroyProbe(ProbeID prbID)
Destory a Probe (either Flow or Topology Probe) |
Probe |
getProbeByID(ProbeID prbID)
Search for the probe object in the probeList according to probe ID. |
void |
report(ProbeID prbID,
double bw)
Simply forward the probing information from Probe to ProbeManager |
void |
reportError(ProbeID prbID)
Simply forward the error probe ID to ProbeManager |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public ProbeID createProbe()
public boolean destroyProbe(ProbeID prbID)
prbID
- ID of the probe to be destroiedpublic Probe getProbeByID(ProbeID prbID)
prbID
- the ID of the probe that is searched forpublic void report(ProbeID prbID, double bw)
prbID
- the ID of the probe that creates the errorbw
- available bandwidth from the probepublic void reportError(ProbeID prbID)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |