Files
briar/briar-api/src/org/briarproject/api/lifecycle/Service.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;
}