mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-12 18:59:06 +01:00
17 lines
384 B
Java
17 lines
384 B
Java
package org.briarproject.api.lifecycle;
|
|
|
|
public interface Service {
|
|
|
|
/**
|
|
* Starts the service.This method must not be called concurrently with
|
|
* {@link #stopService()}.
|
|
*/
|
|
void startService() throws ServiceException;
|
|
|
|
/**
|
|
* Stops the service. This method must not be called concurrently with
|
|
* {@link #startService()}.
|
|
*/
|
|
void stopService() throws ServiceException;
|
|
}
|