Changeset 55 for trunk/src/main/java/omq/common/message
- Timestamp:
- 06/21/13 16:55:58 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/main/java/omq/common/message/Request.java
r54 r55 35 35 } 36 36 37 public Request(String id2, String method2, boolean b, Object[] params2, boolean multi2) { 38 // TODO Auto-generated constructor stub 37 private Request(String id, String method, boolean async, Object[] params, boolean multi) { 38 this.id = id; 39 this.method = method; 40 this.async = async; 41 this.params = params; 42 this.multi = multi; 39 43 } 40 44 … … 43 47 } 44 48 45 public static Request newSyncRequest(String id, String method, Object[] params, int retries, long timeout ) {46 Request req = new Request(id, method, false, params );49 public static Request newSyncRequest(String id, String method, Object[] params, int retries, long timeout, boolean multi) { 50 Request req = new Request(id, method, false, params, multi); 47 51 req.setRetries(retries); 48 52 req.setTimeout(timeout);
Note: See TracChangeset
for help on using the changeset viewer.