package proxy1;
import java.io.*;
public class Call implements Serializable{
  private String className;  //±íÊ¾ÀàÃû
  private String methodName; //±íÊ¾·½·¨Ãû
  private Class[] paramTypes; //±íÊ¾·½·¨²ÎÊýÀàÐÍ
  private Object[] params; //±íÊ¾·½·¨²ÎÊýÖµ
  private Object result;  //±íÊ¾·½·¨µÄ·µ»ØÖµ»òÕß·½·¨Å×³öµÄÒì³£
  
  public Call(){}
  public Call(String className,String methodName,Class[] paramTypes,
                            Object[] params){
    this.className=className;
    this.methodName=methodName;
    this.paramTypes=paramTypes;
    this.params=params;
  }
  
  public String getClassName(){return className;}
  public void setClassName(String className){this.className=className;}

  public String getMethodName(){return methodName;}
  public void setMethodName(String methodName){this.methodName=methodName;}

  public Class[] getParamTypes(){return paramTypes;}
  public void setParamTypes(Class[] paramTypes){this.paramTypes=paramTypes;}

  public Object[] getParams(){return params;}
  public void setParams(Object[] params){this.params=params;}

  public Object getResult(){return result;}
  public void setResult(Object result){this.result=result;}

  public String toString(){
    return "className="+className+" methodName="+methodName;
  }
} 


/****************************************************
 * ×÷Õß£ºËïÎÀÇÙ                                     *
 * À´Ô´£º<<JavaÍøÂç±à³Ì¾«½â>>                       *
 * ¼¼ÊõÖ§³ÖÍøÖ·£ºwww.javathinker.org                *
 ***************************************************/
