|
||||||||||
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>
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 |
---|
Nested classes/interfaces inherited from interface com.vaadin.server.RpcManager |
---|
RpcManager.RpcInvocationException |
Constructor Summary | |
---|---|
ServerRpcManager(T implementation,
java.lang.Class<T> rpcInterface)
Create a RPC manager for an RPC target. |
Method Summary | |
---|---|
static void |
applyInvocation(RpcTarget 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 typeMethod Detail |
---|
public static void applyInvocation(RpcTarget target, ServerRpcMethodInvocation invocation) throws RpcManager.RpcInvocationException
target
- non-null target of the RPC callinvocation
- method invocation to perform
RpcInvocationException
RpcManager.RpcInvocationException
protected T getImplementation()
protected java.lang.Class<T> getRpcInterface()
public void applyInvocation(ServerRpcMethodInvocation invocation) throws RpcManager.RpcInvocationException
applyInvocation
in interface RpcManager
invocation
- method invocation to perform
RpcManager.RpcInvocationException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |