Line | |
---|
1 | package omq.test.multiProcess; |
---|
2 | |
---|
3 | import omq.server.RemoteObject; |
---|
4 | |
---|
5 | public class NumberImpl extends RemoteObject implements Number { |
---|
6 | /** |
---|
7 | * |
---|
8 | */ |
---|
9 | private static final long serialVersionUID = 1L; |
---|
10 | private int x = 0; |
---|
11 | |
---|
12 | public NumberImpl() { |
---|
13 | } |
---|
14 | |
---|
15 | public NumberImpl(int x) { |
---|
16 | this.x = x; |
---|
17 | } |
---|
18 | |
---|
19 | public void setNumber(int x) { |
---|
20 | this.x = x; |
---|
21 | } |
---|
22 | |
---|
23 | public int getNumber() { |
---|
24 | return x; |
---|
25 | } |
---|
26 | |
---|
27 | public void setMultiNumber(int x) { |
---|
28 | this.x = x; |
---|
29 | } |
---|
30 | |
---|
31 | public int getMultiNumber() { |
---|
32 | return x; |
---|
33 | } |
---|
34 | |
---|
35 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.