com.vaadin.client.communication
Class RpcManager

java.lang.Object
  extended by com.vaadin.client.communication.RpcManager

public class RpcManager
extends java.lang.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 Summary
RpcManager()
           
 
Method Summary
 void applyInvocation(com.vaadin.shared.communication.MethodInvocation invocation, ServerConnector connector)
          Perform server to client RPC invocation.
static Method getMethod(com.vaadin.shared.communication.MethodInvocation invocation)
          Gets the method that an invocation targets.
 Type[] getParameterTypes(com.vaadin.shared.communication.MethodInvocation invocation)
           
 com.vaadin.shared.communication.MethodInvocation parseAndApplyInvocation(elemental.json.JsonArray rpcCall, ApplicationConnection connection)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RpcManager

public RpcManager()
Method Detail

applyInvocation

public void applyInvocation(com.vaadin.shared.communication.MethodInvocation invocation,
                            ServerConnector connector)
Perform server to client RPC invocation.

Parameters:
invocation - method to invoke

getMethod

public static Method getMethod(com.vaadin.shared.communication.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

getParameterTypes

public Type[] getParameterTypes(com.vaadin.shared.communication.MethodInvocation invocation)

parseAndApplyInvocation

public com.vaadin.shared.communication.MethodInvocation parseAndApplyInvocation(elemental.json.JsonArray rpcCall,
                                                                                ApplicationConnection connection)


Copyright © 2000-2014 Vaadin Ltd. All Rights Reserved.