/[xulu]/branches/1.8-gt2-2.6/src/appl/parallel/starter/Starter.java
ViewVC logotype

Annotation of /branches/1.8-gt2-2.6/src/appl/parallel/starter/Starter.java

Parent Directory Parent Directory | Revision Log Revision Log


Revision 47 - (hide annotations)
Mon Aug 31 14:23:19 2009 UTC (15 years, 3 months ago) by mojays
File size: 841 byte(s)
Branch 1.8-gt2-2.6 (from rev 45) for geotools 2.6 migration
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