|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.Thread | +--edu.cmu.cs.able.probes.RemosProbe.Probe
Probe is responsible for the probing work by making use of Remos. Probe is deployed by ProbeManager.
Fields inherited from class java.lang.Thread |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Method Summary | |
boolean |
activate(java.net.InetAddress srcIP,
java.net.InetAddress dstIP,
double frequence)
Set the probing parameters of the probe and make it start working |
boolean |
focus(java.net.InetAddress srcIP,
java.net.InetAddress dstIP,
double frequence)
Change the probing parameters of the probe and make it start working |
ProbeID |
getID()
Retrieve this probe's ID |
void |
query()
Not implemented. |
void |
run()
This is where the probing is carried out. |
void |
stopProbe()
Stop the monitoring of this probe. |
Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
public void stopProbe()
public boolean activate(java.net.InetAddress srcIP, java.net.InetAddress dstIP, double frequence) throws ProbeException
srcIP
- the source node of the network link to be monitoreddstIP
- the destination node of the network link to be monitoredfrequence
- probing frequencyRemosProbe.ProbeException
- public boolean focus(java.net.InetAddress srcIP, java.net.InetAddress dstIP, double frequence) throws ProbeException
srcIP
- the source node of the network link to be monitoreddstIP
- the destination node of the network link to be monitoredfrequence
- probing frequencyRemosProbe.ProbeException
- public void query()
public void run()
run
in class java.lang.Thread
public ProbeID getID()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |