1 |
/* |
2 |
* i-scream central monitoring system |
3 |
* http://www.i-scream.org |
4 |
* Copyright (C) 2000-2002 i-scream |
5 |
* |
6 |
* This program is free software; you can redistribute it and/or |
7 |
* modify it under the terms of the GNU General Public License |
8 |
* as published by the Free Software Foundation; either version 2 |
9 |
* of the License, or (at your option) any later version. |
10 |
* |
11 |
* This program is distributed in the hope that it will be useful, |
12 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
13 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
14 |
* GNU General Public License for more details. |
15 |
* |
16 |
* You should have received a copy of the GNU General Public License |
17 |
* along with this program; if not, write to the Free Software |
18 |
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
19 |
*/ |
20 |
|
21 |
//---PACKAGE DECLARATION--- |
22 |
package uk.org.iscream.cms.conient; |
23 |
|
24 |
//---IMPORTS--- |
25 |
|
26 |
/** |
27 |
* This is essentially a wrapper for the java.lang.Process object. |
28 |
* It allows the connection to take advantage of the reference |
29 |
* passing of java in order to maintain a reference to the Process |
30 |
* object that holds the external tunnelling process. |
31 |
* |
32 |
* @author $Author: tdb $ |
33 |
* @version $Id: TunnelProcess.java,v 1.4 2002/05/21 16:47:10 tdb Exp $ |
34 |
*/ |
35 |
public class TunnelProcess { |
36 |
|
37 |
//---FINAL ATTRIBUTES--- |
38 |
|
39 |
/** |
40 |
* The current CVS revision of this class |
41 |
*/ |
42 |
public static final String REVISION = "$Revision: 1.4 $"; |
43 |
|
44 |
//---STATIC METHODS--- |
45 |
|
46 |
//---CONSTRUCTORS--- |
47 |
|
48 |
//---PUBLIC METHODS--- |
49 |
|
50 |
//---PRIVATE METHODS--- |
51 |
|
52 |
//---ACCESSOR/MUTATOR METHODS--- |
53 |
|
54 |
/** |
55 |
* Acessor for the process held by this object |
56 |
* |
57 |
* @return the process |
58 |
*/ |
59 |
public Process getProcess() { |
60 |
return _process; |
61 |
} |
62 |
|
63 |
/** |
64 |
* Mutator for the process held by this object |
65 |
* |
66 |
* @param process the new process |
67 |
*/ |
68 |
public void setProcess(Process process) { |
69 |
_process = process; |
70 |
} |
71 |
|
72 |
//---ATTRIBUTES--- |
73 |
|
74 |
/** |
75 |
* The process held by this object |
76 |
*/ |
77 |
private Process _process; |
78 |
|
79 |
//---STATIC ATTRIBUTES--- |
80 |
|
81 |
} |