Always call the callback outside the plugin's lock.

This commit is contained in:
akwizgran
2011-10-08 13:13:28 +01:00
parent 50e5c51d77
commit 125ae1b640
5 changed files with 38 additions and 64 deletions

View File

@@ -16,10 +16,7 @@ public interface TransportPlugin {
Map<ContactId, Map<String, String>> remoteProperties,
Map<String, String> config) throws IOException;
/**
* Stops the plugin. No further connections will be passed to the callback
* after this method has returned.
*/
/** Stops the plugin. */
void stop() throws IOException;
/** Updates the plugin's local transport properties. */