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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2 - (hide annotations)
Wed Feb 25 11:54:01 2009 UTC (15 years, 9 months ago) by mojays
File size: 841 byte(s)
First Commit, corresponds to Revision 1008 of Wikisquare-SVN 
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