|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface ClientData.IMethodProfilingHandler
Handlers able to act on Method profiling info
Method Summary | |
---|---|
void |
onEndFailure(Client client,
String message)
Called when method tracing failed to end on the VM side |
void |
onStartFailure(Client client,
String message)
Called when method tracing failed to start |
void |
onSuccess(byte[] data,
Client client)
Called when a method tracing was successful. |
void |
onSuccess(String remoteFilePath,
Client client)
Called when a method tracing was successful. |
Method Detail |
---|
void onSuccess(String remoteFilePath, Client client)
remoteFilePath
- the device-side path of the trace file.client
- the client that was profiled.void onSuccess(byte[] data, Client client)
data
- the data containing the trace file, streamed from the VMclient
- the client that was profiled.void onStartFailure(Client client, String message)
client
- the client that was profiled.message
- an optional (null ok) error message to be displayed.
void onEndFailure(Client client, String message)
client
- the client that was profiled.message
- an optional (null ok) error message to be displayed.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |