com.vaadin.shared.communication
Class MethodInvocation
java.lang.Object
com.vaadin.shared.communication.MethodInvocation
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- LegacyChangeVariablesInvocation
public class MethodInvocation
- extends java.lang.Object
- implements java.io.Serializable
Information needed by the framework to send an RPC method invocation from the
client to the server or vice versa.
- Since:
- 7.0
- See Also:
- Serialized Form
|
Constructor Summary |
MethodInvocation(java.lang.String connectorId,
java.lang.String interfaceName,
java.lang.String methodName)
|
MethodInvocation(java.lang.String connectorId,
java.lang.String interfaceName,
java.lang.String methodName,
java.lang.Object[] parameters)
|
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
MethodInvocation
public MethodInvocation(java.lang.String connectorId,
java.lang.String interfaceName,
java.lang.String methodName)
MethodInvocation
public MethodInvocation(java.lang.String connectorId,
java.lang.String interfaceName,
java.lang.String methodName,
java.lang.Object[] parameters)
getConnectorId
public java.lang.String getConnectorId()
getInterfaceName
public java.lang.String getInterfaceName()
getMethodName
public java.lang.String getMethodName()
getParameters
public java.lang.Object[] getParameters()
setParameters
public void setParameters(java.lang.Object[] parameters)
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
getLastOnlyTag
public java.lang.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
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals in class java.lang.Object
Copyright © 2000-2014 Vaadin Ltd. All Rights Reserved.