mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-13 03:09:04 +01:00
Refactored PluginManager and Poller to remove non-open calls. Bug #15.
This commit is contained in:
@@ -2,9 +2,15 @@ package org.briarproject.api.lifecycle;
|
||||
|
||||
public interface Service {
|
||||
|
||||
/** Starts the service and returns true if it started successfully. */
|
||||
/**
|
||||
* Starts the service and returns true if it started successfully.
|
||||
* This method must not be called concurrently with {@link #stop()}.
|
||||
*/
|
||||
public boolean start();
|
||||
|
||||
/** Stops the service and returns true if it stopped successfully. */
|
||||
/**
|
||||
* Stops the service and returns true if it stopped successfully.
|
||||
* This method must not be called concurrently with {@link #start()}.
|
||||
*/
|
||||
public boolean stop();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user