com.vaadin.shared.communication.
Class MethodInvocation
- java.lang.Object
 - 
- com.vaadin.shared.communication.MethodInvocation
 
 
- 
All Implemented Interfaces:
Direct Known Subclasses:
JavaScriptMethodInvocation,LegacyChangeVariablesInvocation,ServerRpcMethodInvocationpublic class MethodInvocation extends Object implements SerializableInformation needed by the framework to send an RPC method invocation from the client to the server or vice versa.
Since:
7.0
See Also:
 
- 
- 
Constructor Summary
Constructors Constructor Description MethodInvocation(String connectorId, String interfaceName, String methodName)MethodInvocation(String connectorId, String interfaceName, String methodName, Object[] parameters) 
- 
Method Summary
All Methods Modifier and Type Method Description booleanequals(Object obj)StringgetConnectorId()StringgetInterfaceName()StringgetLastOnlyTag()Gets a String tag that is used to uniquely identify previous method invocations that should be purged from the queue if
@Delay(lastOnly = true)is used.StringgetMethodName()Object[]getParameters()inthashCode()voidsetParameters(Object[] parameters)StringtoString() 
 - 
 
- 
- 
Method Detail
- 
getConnectorId
public String getConnectorId() 
- 
getInterfaceName
public String getInterfaceName() 
- 
getMethodName
public String getMethodName() 
- 
getParameters
public Object[] getParameters() 
- 
setParameters
public void setParameters(Object[] parameters) 
- 
getLastOnlyTag
public String getLastOnlyTag()Gets a String tag that is used to uniquely identify previous method invocations that should be purged from the queue if
@Delay(lastOnly = true)is used.The returned string should contain at least one non-number char to ensure it doesn't collide with the keys used for invocations without lastOnly.
Returns:
a string identifying this method invocation
 
 - 
 
 -