We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
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 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(elemental.json.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 forReturns:
the method targeted by this invocation
Since:
7.4
-
getParameterTypes
public Type[] getParameterTypes(MethodInvocation invocation)
-
parseAndApplyInvocation
public MethodInvocation parseAndApplyInvocation(elemental.json.JsonArray rpcCall, ApplicationConnection connection)
-
-