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.

RpcManager.java 1.0KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. /*
  2. @VaadinApache2LicenseForJavaFiles@
  3. */
  4. package com.vaadin.terminal.gwt.server;
  5. import java.io.Serializable;
  6. /**
  7. * Server side RPC manager that can invoke methods based on RPC calls received
  8. * from the client.
  9. *
  10. * @since 7.0
  11. */
  12. public interface RpcManager extends Serializable {
  13. public void applyInvocation(ServerRpcMethodInvocation invocation)
  14. throws RpcInvocationException;
  15. /**
  16. * Wrapper exception for exceptions which occur during invocation of an RPC
  17. * call
  18. *
  19. * @author Vaadin Ltd
  20. * @since 7.0
  21. *
  22. */
  23. public static class RpcInvocationException extends Exception {
  24. public RpcInvocationException() {
  25. super();
  26. }
  27. public RpcInvocationException(String message, Throwable cause) {
  28. super(message, cause);
  29. }
  30. public RpcInvocationException(String message) {
  31. super(message);
  32. }
  33. public RpcInvocationException(Throwable cause) {
  34. super(cause);
  35. }
  36. }
  37. }