20 lines
722 B
Java
20 lines
722 B
Java
package javax.baja.platform;
|
|
|
|
import java.net.ConnectException;
|
|
import javax.baja.file.BDirectory;
|
|
import javax.baja.security.AuthenticationException;
|
|
|
|
public interface StationManager {
|
|
RemoteStation createStation(BDirectory bDirectory, String str, IPlatformOperationListener iPlatformOperationListener) throws Exception;
|
|
|
|
RemoteStation[] getAllStations() throws Exception;
|
|
|
|
RemoteStation getStation(String str) throws Exception;
|
|
|
|
void rebootAsync() throws ConnectException, AuthenticationException;
|
|
|
|
void rebootSync(IPlatformOperationListener iPlatformOperationListener) throws Exception;
|
|
|
|
RemoteStation[] stopAllStations(IPlatformOperationListener iPlatformOperationListener) throws Exception;
|
|
}
|