|
|||||||||
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.ProbeHandle
ProbeHandle is provided for user application to refer to the probe deployed by the application. After a probe is created, user application can use the probe handle to communicate with Probe through ProbeManagerComm and does not need to user ProbeManagerHandle again.
Method Summary | |
boolean |
activate(java.net.InetAddress srcIP,
java.net.InetAddress dstIP,
double frequency)
Activate a probe, make it start monitoring |
boolean |
focus(java.net.InetAddress srcIP,
java.net.InetAddress dstIP,
double frequency)
Change the monitoring parameters setting for the probe. |
java.lang.String |
getID()
Get the probe ID. |
void |
notify(siena.Notification e)
Siena notification function. |
void |
notify(siena.Notification[] es)
Siena notification function. |
void |
onSensed(siena.Notification e)
Accept the report value from the probe monitoring |
void |
query()
Not implemented |
java.lang.String |
toString()
Get a string to indicate the probe ID. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
public boolean activate(java.net.InetAddress srcIP, java.net.InetAddress dstIP, double frequency)
srcIP
- IP address of the source node of the network linkdstIP
- IP address of the destination node of the network linkfrequency
- monitoring frequencypublic boolean focus(java.net.InetAddress srcIP, java.net.InetAddress dstIP, double frequency)
srcIP
- IP address of the source node of the network linkdstIP
- IP address of the destination node of the network linkfrequency
- monitoring frequencypublic void query()
public void onSensed(siena.Notification e)
e
- the siena event that includes the report valuepublic void notify(siena.Notification e)
notify
in interface siena.Notifiable
e
- siena eventpublic void notify(siena.Notification[] es)
notify
in interface siena.Notifiable
es
- siena eventspublic java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String getID()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |