- Timestamp:
- 10/16/13 13:01:04 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/supervisor/src/main/java/omq/common/message/Request.java
r83 r104 25 25 26 26 private transient boolean multi; 27 private transient int wait;28 27 private transient long timeout; 29 28 private transient int retries; … … 78 77 * @param multi 79 78 * - If the method is multi 80 * @param wait81 * - If the method is multi how many responses will be listened82 79 * @return - new SyncRequest 83 80 */ 84 public static Request newSyncRequest(String id, String method, Object[] params, int retries, long timeout, boolean multi , int wait) {81 public static Request newSyncRequest(String id, String method, Object[] params, int retries, long timeout, boolean multi) { 85 82 Request req = new Request(id, method, false, params, multi); 86 83 req.setRetries(retries); 87 84 req.setTimeout(timeout); 88 req.setWait(wait);89 85 return req; 90 86 } … … 163 159 } 164 160 165 public int getWait() {166 return wait;167 }168 169 public void setWait(int wait) {170 this.wait = wait;171 }172 161 }
Note: See TracChangeset
for help on using the changeset viewer.