Changeset 83 for trunk/src/main/java/omq/common/message/Response.java
- Timestamp:
- 07/08/13 13:29:24 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/main/java/omq/common/message/Response.java
r44 r83 5 5 import omq.exception.OmqException; 6 6 7 /** 8 * Serializable response information. This class is used to send the information 9 * to the client proxy. It has information about which remoteObject has invoked 10 * the method and its correlation id. This class also has the result of the 11 * invoke if everything has gone fine in the server or an error otherwise. 12 * 13 * @author Sergi Toda <sergi.toda@estudiants.urv.cat> 14 * 15 */ 7 16 public class Response implements Serializable { 8 17 … … 17 26 private String idOmq; 18 27 28 // Used by kryo 19 29 public Response() { 20 30 } 21 31 32 /** 33 * Creates a new Response object to be serialized 34 * 35 * @param id 36 * - correlation id of the invoke 37 * @param idOmq 38 * - objectmq's identifier -bind reference- 39 * @param result 40 * - result of the invocation 41 * @param error 42 * - error thrown by the invocation 43 */ 22 44 public Response(String id, String idOmq, Object result, OmqException error) { 23 45 this.id = id;
Note: See TracChangeset
for help on using the changeset viewer.