Package com.vaadin.client.communication
Class RpcManager
- java.lang.Object
-
- com.vaadin.client.communication.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 Summary
Constructors Constructor Description RpcManager()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
applyInvocation(MethodInvocation invocation, ServerConnector connector)
Perform server to client RPC invocation.static Method
getMethod(MethodInvocation invocation)
Gets the method that an invocation targets.Type[]
getParameterTypes(MethodInvocation invocation)
MethodInvocation
parseAndApplyInvocation(JsonArray rpcCall, ApplicationConnection connection)
-
-
-
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
-
getParameterTypes
public Type[] getParameterTypes(MethodInvocation invocation)
-
parseAndApplyInvocation
public MethodInvocation parseAndApplyInvocation(JsonArray rpcCall, ApplicationConnection connection)
-
-