com.vaadin.client.communication.

Class RpcManager

  • public class RpcManager
    extends Object

    Client side RPC manager that can invoke methods based on RPC calls received from the server. A GWT generator is used to create an implementation of this class at run-time.

    Since:

    7.0

    • Constructor Detail

      • RpcManager

        public RpcManager()
    • Method Detail

      • applyInvocation

        public void applyInvocation​(MethodInvocation invocation,
                                    ServerConnector connector)

        Perform server to client RPC invocation.

        Parameters:

        invocation - method to invoke

      • getMethod

        public static Method getMethod​(MethodInvocation invocation)

        Gets the method that an invocation targets.

        Parameters:

        invocation - the method invocation to get the method for

        Returns:

        the method targeted by this invocation

        Since:

        7.4