tor-android/src/org/torproject/android/service/ITorServiceCallback.aidl

25 lines
706 B
Plaintext

package org.torproject.android.service;
/**
* Callback interface used to send
* synchronous notifications back to its clients. Note that this is a
* one-way interface so the server does not block waiting for the client.
*/
oneway interface ITorServiceCallback {
/**
* Called when the service has a something to display to the user
*/
void statusChanged(String value);
/**
* Called when the service returns the bandwidth user to display to the user
*/
void updateBandwidth(long upload, long download, long written, long read);
/**
* Called when the service has something to add to the log
*/
void logMessage(String value);
}