aboutsummaryrefslogtreecommitdiffstats
path: root/src/com/vaadin/terminal/gwt/client/communication/MethodInvocation.java
blob: 5fe1846b345ff6f26fc042a44e5d6302ceeee4f7 (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
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 methodName;
    private final Object[] parameters;

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

    public String getPaintableId() {
        return paintableId;
    }

    public String getMethodName() {
        return methodName;
    }

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