package net.sourceforge.subsonic.booter.agent;
import net.sourceforge.subsonic.booter.deployer.DeploymentStatus;
/**
* Callback interface implemented by GUI classes that wants to be notified when
* the state of the Subsonic deployment changes.
*
* @author Sindre Mehus
*/
public interface SubsonicListener {
/**
* Invoked when new information about the Subsonic deployment is available.
*
* @param deploymentStatus The new deployment status, or null
if an
* error occurred while retrieving the status.
*/
void notifyDeploymentStatus(DeploymentStatus deploymentStatus);
/**
* Invoked when new information about the Subsonic Windows service is available.
*
* @param serviceStatus The new service status, or null
if an
* error occurred while retrieving the status.
*/
void notifyServiceStatus(String serviceStatus);
}