public static interface ClientData.IMethodProfilingHandler
Modifier and Type | Method and Description |
---|---|
void |
onEndFailure(Client client,
java.lang.String message)
Called when method tracing failed to end on the VM side
|
void |
onStartFailure(Client client,
java.lang.String message)
Called when method tracing failed to start
|
void |
onSuccess(byte[] data,
Client client)
Called when a method tracing was successful.
|
void |
onSuccess(java.lang.String remoteFilePath,
Client client)
Called when a method tracing was successful.
|
void onSuccess(java.lang.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, java.lang.String message)
client
- the client that was profiled.message
- an optional (null
ok) error message to be displayed.void onEndFailure(Client client, java.lang.String message)
client
- the client that was profiled.message
- an optional (null
ok) error message to be displayed.