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.

InitializableServerRpc.java 851B

123456789101112131415161718192021222324252627
  1. /*
  2. @VaadinApache2LicenseForJavaFiles@
  3. */
  4. package com.vaadin.terminal.gwt.client.communication;
  5. import com.vaadin.shared.communication.ServerRpc;
  6. import com.vaadin.terminal.gwt.client.ServerConnector;
  7. /**
  8. * Initialization support for client to server RPC interfaces.
  9. *
  10. * This is in a separate interface used by the GWT generator class. The init
  11. * method is not in {@link ServerRpc} because then also server side proxies
  12. * would have to implement the initialization method.
  13. *
  14. * @since 7.0
  15. */
  16. public interface InitializableServerRpc extends ServerRpc {
  17. /**
  18. * Associates the RPC proxy with a connector. Called by generated code.
  19. * Should never be called manually.
  20. *
  21. * @param connector
  22. * The connector the ServerRPC instance is assigned to.
  23. */
  24. public void initRpc(ServerConnector connector);
  25. }