You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

MethodInvocation.java 1013B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. /*
  2. @VaadinApache2LicenseForJavaFiles@
  3. */
  4. package com.vaadin.terminal.gwt.client.communication;
  5. /**
  6. * Information needed by the framework to send an RPC method invocation from the
  7. * client to the server or vice versa.
  8. *
  9. * @since 7.0
  10. */
  11. public class MethodInvocation {
  12. private final String paintableId;
  13. private final String interfaceName;
  14. private final String methodName;
  15. private final Object[] parameters;
  16. public MethodInvocation(String paintableId, String interfaceName,
  17. String methodName, Object[] parameters) {
  18. this.paintableId = paintableId;
  19. this.interfaceName = interfaceName;
  20. this.methodName = methodName;
  21. this.parameters = parameters;
  22. }
  23. public String getPaintableId() {
  24. return paintableId;
  25. }
  26. public String getInterfaceName() {
  27. return interfaceName;
  28. }
  29. public String getMethodName() {
  30. return methodName;
  31. }
  32. public Object[] getParameters() {
  33. return parameters;
  34. }
  35. }