MyServiceSVC_impl.java
1 |
// -*-Java-*-
|
---|---|
2 |
/*!
|
3 |
* @file MyServiceSVC_impl.java
|
4 |
* @brief Service implementation code of MyService.idl
|
5 |
*
|
6 |
*/
|
7 |
/**
|
8 |
* MyServiceSVC_impl
|
9 |
* <p>
|
10 |
* Example class implementing IDL interface MyService
|
11 |
*/
|
12 |
public class MyServiceSVC_impl extends MyServicePOA{ |
13 |
|
14 |
public MyServiceSVC_impl() {
|
15 |
// Please add extra constructor code here.
|
16 |
} |
17 |
|
18 |
/*
|
19 |
* Methods corresponding to IDL attributes and operations
|
20 |
*/
|
21 |
public String echo(String msg) { |
22 |
// Please insert your code here and remove the following warning pragma
|
23 |
// TODO "Code missing in function <String echo(String msg)>"
|
24 |
return null; |
25 |
} |
26 |
|
27 |
public String[] get_echo_history() { |
28 |
// Please insert your code here and remove the following warning pragma
|
29 |
// TODO "Code missing in function <EchoList get_echo_history()>"
|
30 |
return null; |
31 |
} |
32 |
|
33 |
public void set_value(float value) { |
34 |
// Please insert your code here and remove the following warning pragma
|
35 |
// TODO "Code missing in function <void set_value(float value)>"
|
36 |
} |
37 |
|
38 |
public float get_value() { |
39 |
// Please insert your code here and remove the following warning pragma
|
40 |
// TODO "Code missing in function <float get_value()>"
|
41 |
return 0; |
42 |
} |
43 |
|
44 |
public float[] get_value_history() { |
45 |
// Please insert your code here and remove the following warning pragma
|
46 |
// TODO "Code missing in function <ValueList get_value_history()>"
|
47 |
return null; |
48 |
} |
49 |
|
50 |
// End of example implementational code
|
51 |
} |