/*
@VaadinApache2LicenseForJavaFiles@
 */

package com.vaadin.terminal.gwt.client.communication;

import com.vaadin.terminal.gwt.client.ApplicationConnection;

/**
 * Interface to be extended by all client to server RPC interfaces.
 * 
 * The nested interface InitializableClientToServerRpc The
 * {@link #initRpc(String, ApplicationConnection)} method is created
 * automatically by a GWT generator and must be called on the client side before
 * generated implementations of the interface are used to perform RPC calls.
 * 
 * @since 7.0
 */
public interface ClientToServerRpc {
    /**
     * Initialization support for client to server RPC interfaces.
     * 
     * This is in a separate interface instead of {@link ClientToServerRpc}
     * because otherwise also server side proxies would have to implement the
     * initialization method.
     * 
     * @since 7.0
     */
    public interface InitializableClientToServerRpc extends ClientToServerRpc {
        public void initRpc(String paintableId, ApplicationConnection client);
    }
}

@@ -91,16 +91,46 @@
 ation;%0A%0A
+import java.io.Serializable;%0A%0A
 import c
@@ -598,24 +598,45 @@
 ToServerRpc 
+extends Serializable 
 %7B%0A    /**%0A  

Extend Serializable in ClientToServerRpc interface (#8278).