RpcRequest.java 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. package cn.hhj.request;
  2. import java.io.Serializable;
  3. public class RpcRequest implements Serializable {
  4. private String className;
  5. private String methodName;
  6. private Object[] parameters;
  7. private Class<?>[] paramTypes;
  8. private String version;
  9. public String getVersion() {
  10. return version;
  11. }
  12. public void setVersion(String version) {
  13. this.version = version;
  14. }
  15. public Class<?>[] getParamTypes() {
  16. return paramTypes;
  17. }
  18. public void setParamTypes(Class<?>[] paramTypes) {
  19. this.paramTypes = paramTypes;
  20. }
  21. public String getClassName() {
  22. return className;
  23. }
  24. public void setClassName(String className) {
  25. this.className = className;
  26. }
  27. public String getMethodName() {
  28. return methodName;
  29. }
  30. public void setMethodName(String methodName) {
  31. this.methodName = methodName;
  32. }
  33. public Object[] getParameters() {
  34. return parameters;
  35. }
  36. public void setParameters(Object[] parameters) {
  37. this.parameters = parameters;
  38. }
  39. }