1 |
//---PACKAGE DECLARATION--- |
2 |
package uk.org.iscream.cms.conient; |
3 |
|
4 |
//---IMPORTS--- |
5 |
|
6 |
/** |
7 |
* This is essentially a wrapper for the java.lang.Process object. |
8 |
* It allows the connection to take advantage of the reference |
9 |
* passing of java in order to maintain a reference to the Process |
10 |
* object that holds the external tunnelling process. |
11 |
* |
12 |
* @author $Author: ajm4 $ |
13 |
* @version $Id: TunnelProcess.java,v 1.1 2001/05/01 19:25:14 ajm4 Exp $ |
14 |
*/ |
15 |
public class TunnelProcess { |
16 |
|
17 |
//---FINAL ATTRIBUTES--- |
18 |
|
19 |
/** |
20 |
* The current CVS revision of this class |
21 |
*/ |
22 |
public static final String REVISION = "$Revision: 1.1 $"; |
23 |
|
24 |
//---STATIC METHODS--- |
25 |
|
26 |
//---CONSTRUCTORS--- |
27 |
|
28 |
//---PUBLIC METHODS--- |
29 |
|
30 |
//---PRIVATE METHODS--- |
31 |
|
32 |
//---ACCESSOR/MUTATOR METHODS--- |
33 |
|
34 |
/** |
35 |
* Acessor for the process held by this object |
36 |
* |
37 |
* @return the process |
38 |
*/ |
39 |
public Process getProcess() { |
40 |
return _process; |
41 |
} |
42 |
|
43 |
/** |
44 |
* Mutator for the process held by this object |
45 |
* |
46 |
* @param process the new process |
47 |
*/ |
48 |
public void setProcess(Process process) { |
49 |
_process = process; |
50 |
} |
51 |
|
52 |
//---ATTRIBUTES--- |
53 |
|
54 |
/** |
55 |
* The process held by this object |
56 |
*/ |
57 |
private Process _process; |
58 |
|
59 |
//---STATIC ATTRIBUTES--- |
60 |
|
61 |
} |