Create two new events to signal enabling and disabling of transports

This commit is contained in:
Torsten Grote
2015-12-16 13:48:56 -02:00
parent c7e4d5ffa9
commit 2d28dcada2
14 changed files with 132 additions and 18 deletions

View File

@@ -50,6 +50,9 @@ public interface PluginCallback {
*/
void showMessage(String... message);
/** Schedules the plugin to be polled immediately. */
void pollNow();
/** Signal that the transport got enabled. */
void transportEnabled();
/** Signal that the transport got disabled. */
void transportDisabled();
}