aboutsummaryrefslogtreecommitdiffstats
path: root/src/com/vaadin/terminal/gwt/client/communication/MethodInvocation.java
blob: 33ea3fb5c2b3a1eb15a18ff5ad97b0039df8a8d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
package com.vaadin.terminal.gwt.client.communication;

/**
 * Information needed by the framework to send an RPC method invocation from the
 * client to the server or vice versa.
 * 
 * @since 7.0
 */
public class MethodInvocation {

    private final String paintableId;
    private final String interfaceName;
    private final String methodName;
    private final Object[] parameters;

    public MethodInvocation(String paintableId, String interfaceName,
            String methodName, Object[] parameters) {
        this.paintableId = paintableId;
        this.interfaceName = interfaceName;
        this.methodName = methodName;
        this.parameters = parameters;
    }

    public String getPaintableId() {
        return paintableId;
    }

    public String getInterfaceName() {
        return interfaceName;
    }

    public String getMethodName() {
        return methodName;
    }

    public Object[] getParameters() {
        return parameters;
    }
}