Package jisd.probej
Class ProbeJ
- java.lang.Object
-
- jisd.probej.ProbeJ
-
public class ProbeJ extends java.lang.Object
Provides ProbeJ client.
-
-
Constructor Summary
Constructors Constructor Description ProbeJ(java.lang.String host, int port)
ProbeJ(java.lang.String host, int port, VirtualMachine vm)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
exit()
Close connection with ProbeJ.java.util.HashMap<Location,java.util.ArrayList<ValueInfo>>
getResults()
Fetch value info from ProbeJ.java.util.HashMap<Location,java.util.ArrayList<ValueInfo>>
getResults(Location loc)
Fetch value info from ProbeJ.void
requestRemoveProbePoint(Location loc)
Request to remove an observation point.void
requestSetProbePoint(Location loc)
Request to set an observation point.void
run()
Start connection with ProbeJ.void
runVM()
Run a targetVM.
-
-
-
Constructor Detail
-
ProbeJ
public ProbeJ(java.lang.String host, int port)
-
ProbeJ
public ProbeJ(java.lang.String host, int port, VirtualMachine vm)
-
-
Method Detail
-
runVM
public void runVM()
Run a targetVM.
-
run
public void run()
Start connection with ProbeJ.
-
requestSetProbePoint
public void requestSetProbePoint(Location loc)
Request to set an observation point.- Parameters:
loc
- location
-
getResults
public java.util.HashMap<Location,java.util.ArrayList<ValueInfo>> getResults()
Fetch value info from ProbeJ.- Returns:
-
getResults
public java.util.HashMap<Location,java.util.ArrayList<ValueInfo>> getResults(Location loc)
Fetch value info from ProbeJ.- Returns:
-
exit
public void exit()
Close connection with ProbeJ. If a target VM was managed by this class, this class shutdowns it.
-
requestRemoveProbePoint
public void requestRemoveProbePoint(Location loc)
Request to remove an observation point.- Parameters:
loc
- location
-
-