make service control functions asynchronous

This commit is contained in:
Max Lv
2014-02-13 12:33:08 +08:00
parent 29686ee86a
commit 9983b46271
2 changed files with 6 additions and 19 deletions
@@ -6,8 +6,10 @@ import com.github.shadowsocks.aidl.IShadowsocksServiceCallback;
interface IShadowsocksService {
int getMode();
int getState();
void start(in Config config);
void stop();
void registerCallback(IShadowsocksServiceCallback cb);
void unregisterCallback(IShadowsocksServiceCallback cb);
}
oneway void start(in Config config);
oneway void stop();
}