thaliproject / Tor_Onion_Proxy_Library

Provides a JAR and an AAR for embedding the Tor Onion Proxy into a Java or Android Program
Apache License 2.0
175 stars 98 forks source link

Broadcaster for Sending Events #50

Closed sisbell closed 5 years ago

sisbell commented 5 years ago

Create a component for system event broadcasts. The OnionProxyManager will use this feature to broadcast Tor lifecycle events to the rest of the application. The implementation of the interface will be platform specific, depending on the app. The interface should include the following methods.

`

void broadcastDebug(String msg);

void broadcastException(String msg, Exception e);

void broadcastLogMessage(String logMessage);

void broadcastNotice(String msg);

void broadcastStatus();

`