blob: 7b34c181c60109266e6303c2574029b658fc8704 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
/*************************************************
*
* = PACKAGE
* tests.ServiceConfigurator
*
* = FILENAME
* TestService.java
*
*@author Prashant Jain
*
*************************************************/
package tests.ServiceConfigurator;
import JACE.ServiceConfigurator.*;
import JACE.OS.*;
public class TestService extends ServiceObject
{
public int init (String [] args)
{
System.out.println("TestService init with arguments: ");
if (args != null)
for (int i = 0; i < args.length; i++)
ACE.DEBUG (args[i]);
return 0;
}
public int suspend()
{
System.out.println("TestService suspend ----");
return 0;
}
public int resume()
{
System.out.println("TestService resume ----");
return 0;
}
public int fini()
{
System.out.println("TestService remove ----");
return 0;
}
}
|