1 24 package org.objectweb.joram.mom.notifications; 25 26 30 public class AdminReply extends AbstractNotification 31 { 32 33 private String requestId; 34 35 private boolean success; 36 37 private String info; 38 39 private Object replyObj; 40 41 44 public AdminReply(AdminRequest request, 45 boolean success, 46 String info) { 47 this(request,success,info,null); 48 } 49 50 53 public AdminReply(AdminRequest request, 54 boolean success, 55 String info, 56 Object replyObj) 57 { 58 requestId = request.getId(); 59 this.success = success; 60 this.info = info; 61 this.replyObj = replyObj; 62 } 63 64 65 66 public String getRequestId() 67 { 68 return requestId; 69 } 70 71 72 public boolean getSuccess() 73 { 74 return success; 75 } 76 77 78 public String getInfo() 79 { 80 return info; 81 } 82 83 84 public Object getReplyObject() { 85 return replyObj; 86 } 87 } 88 | Popular Tags |