Last change
on this file since 6 was
6,
checked in by stoda, 11 years ago
|
Objectmq working (there are no remote Exceptions, and you cannot send remoteObjects through the web, but you can make proxies)
|
File size:
811 bytes
|
Line | |
---|
1 | package omq.common.message.response; |
---|
2 | |
---|
3 | import java.io.Serializable; |
---|
4 | import java.util.Properties; |
---|
5 | |
---|
6 | /** |
---|
7 | * This class is used to generate the responses that will be sent whenever a |
---|
8 | * synchronous method is called in the server side |
---|
9 | * |
---|
10 | * @author Sergi Toda <sergi.toda@estudiants.urv.cat> |
---|
11 | * |
---|
12 | */ |
---|
13 | public class Response implements Serializable { |
---|
14 | /** |
---|
15 | * |
---|
16 | */ |
---|
17 | private static final long serialVersionUID = 1L; |
---|
18 | |
---|
19 | private String proxyUID; |
---|
20 | private Object obj; |
---|
21 | |
---|
22 | public Response() { |
---|
23 | } |
---|
24 | |
---|
25 | public Response(String proxyUID, Object obj) { |
---|
26 | this.proxyUID = proxyUID; |
---|
27 | this.obj = obj; |
---|
28 | } |
---|
29 | |
---|
30 | public String getProxyUID() { |
---|
31 | return proxyUID; |
---|
32 | } |
---|
33 | |
---|
34 | public void setProxyUID(String proxyUID) { |
---|
35 | this.proxyUID = proxyUID; |
---|
36 | } |
---|
37 | |
---|
38 | public Object getResp() { |
---|
39 | return obj; |
---|
40 | } |
---|
41 | |
---|
42 | public void setObj(Object obj) { |
---|
43 | this.obj = obj; |
---|
44 | } |
---|
45 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.