/[xulu]/trunk.bakup/src/appl/parallel/starter/Starter.java
ViewVC logotype

Annotation of /trunk.bakup/src/appl/parallel/starter/Starter.java

Parent Directory Parent Directory | Revision Log Revision Log


Revision 77 - (hide annotations)
Wed Feb 10 16:14:27 2010 UTC (14 years, 10 months ago) by alfonx
File size: 841 byte(s)
backup of trunk
1 mojays 2 package appl.parallel.starter;
2    
3     import java.rmi.Remote;
4     import java.rmi.RemoteException;
5    
6     /**
7     * An interface for programs which start themself other programs as separate
8     * processes. It is possible to start/stop and restart the encapsulated process.
9     *
10     * @author Dominik Appl
11     */
12    
13     public interface Starter extends Remote {
14     /**
15     * Starts the process
16     *
17     * @throws RemoteException
18     */
19     public void start() throws RemoteException;
20    
21     /**
22     * stops the process
23     *
24     * @throws RemoteException
25     */
26     public void stop() throws RemoteException;
27    
28     /**
29     * restarts the process
30     *
31     * @throws RemoteException
32     */
33     public void restart() throws RemoteException;
34    
35     /**
36     * @return true, if the process is running
37     * @throws RemoteException
38     */
39     public boolean isRunning() throws RemoteException;
40     }

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26