com.vaadin.terminal.gwt.client.communication
Class RpcProxy

java.lang.Object
  extended by com.vaadin.terminal.gwt.client.communication.RpcProxy

public class RpcProxy
extends Object

Class for creating proxy instances for Client to Server RPC.

Since:
7.0

Nested Class Summary
static interface RpcProxy.RpcProxyCreator
           
 
Constructor Summary
RpcProxy()
           
 
Method Summary
static
<T extends ServerRpc>
T
create(Class<T> rpcInterface, ServerConnector connector)
          Create a proxy class for the given Rpc interface and assign it to the given connector.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RpcProxy

public RpcProxy()
Method Detail

create

public static <T extends ServerRpc> T create(Class<T> rpcInterface,
                                             ServerConnector connector)
Create a proxy class for the given Rpc interface and assign it to the given connector.

Parameters:
rpcInterface - The rpc interface to construct a proxy for
connector - The connector this proxy is connected to
Returns:
A proxy class used for calling Rpc methods.


Copyright © 2000-2011 Vaadin Ltd. All Rights Reserved.