|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.vaadin.server.ServerRpcManager<T>
public class ServerRpcManager<T extends com.vaadin.shared.communication.ServerRpc>
Server side RPC manager that handles RPC calls coming from the client.
Each RpcTarget (typically a ClientConnector) should have its
own instance of ServerRpcManager if it wants to receive RPC calls
from the client.
| Nested Class Summary | |
|---|---|
static class |
ServerRpcManager.RpcInvocationException
Wrapper exception for exceptions which occur during invocation of an RPC call |
| Constructor Summary | |
|---|---|
ServerRpcManager(T implementation,
java.lang.Class<T> rpcInterface)
Create a RPC manager for an RPC target. |
|
| Method Summary | |
|---|---|
static void |
applyInvocation(ClientConnector target,
ServerRpcMethodInvocation invocation)
Invoke a method in a server side RPC target class. |
void |
applyInvocation(ServerRpcMethodInvocation invocation)
Invoke a method in a server side RPC target class. |
protected T |
getImplementation()
Returns the RPC interface implementation for the RPC target. |
protected java.lang.Class<T> |
getRpcInterface()
Returns the RPC interface type managed by this RPC manager instance. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ServerRpcManager(T implementation,
java.lang.Class<T> rpcInterface)
target - RPC call target (normally a Connector)implementation - RPC interface implementation for the targetrpcInterface - RPC interface type| Method Detail |
|---|
public static void applyInvocation(ClientConnector target,
ServerRpcMethodInvocation invocation)
throws ServerRpcManager.RpcInvocationException
target - non-null target of the RPC callinvocation - method invocation to perform
ServerRpcManager.RpcInvocationExceptionprotected T getImplementation()
protected java.lang.Class<T> getRpcInterface()
public void applyInvocation(ServerRpcMethodInvocation invocation)
throws ServerRpcManager.RpcInvocationException
invocation - method invocation to perform
ServerRpcManager.RpcInvocationException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||