Commits

Anonymous committed 23422e9

поменял answer на result

  • Participants
  • Parent commits 38db60f

Comments (0)

Files changed (2)

File src/hqextdirect/Dispatcher.java

 
     Object result = invoke(object, method, transaction);
 
-    return transaction.createAnswer(result);
+    return transaction.createResult(result);
   }
 
 

File src/hqextdirect/Transaction.java

   private String action;
   private String method;
   private List data;
-  private Object answer;
+  private Object result;
   
   
   public void setTid(int tid)
   }
 
 
-  public void setAnswer(Object answer)
+  public void setResult(Object result)
   {
-    this.answer = answer;
+    this.result = result;
   }
 
 
-  public Object getAnswer()
+  public Object getResult()
   {
-    return this.answer;
+    return this.result;
   }
 
 
-  public Transaction createAnswer(Object answer)
+  public Transaction createResult(Object result)
   {
     Transaction tanswer = new Transaction();
 
     tanswer.setTid(getTid());
     tanswer.setAction(getAction());
     tanswer.setMethod(getMethod());
-    tanswer.setAnswer(answer);
+    tanswer.setResult(result);
 
     return tanswer;
   }