public abstract class AbstractRpc extends Object
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractRpc() |
|
AbstractRpc(String aClassname,
String aMethod) |
|
AbstractRpc(String aClassname,
String aMethod,
boolean aSpawnTread) |
|
AbstractRpc(Token aToken)
The token should contains all the necessary informations.
|
| Modifier and Type | Method and Description |
|---|---|
Token |
call()
Make the call.
|
AbstractRpc |
send(Object... aArg)
Send the Objects you want to the remote procedure.
|
AbstractRpc |
sendListOfArgs(List aArgs)
Directly send this list of object to the remote procedure
|
static void |
setDefaultSpanwThread(boolean aDefaultValue) |
protected AbstractRpc()
public AbstractRpc(String aClassname, String aMethod, boolean aSpawnTread)
aClassname - the classname to callaMethod - the method to callpublic AbstractRpc(Token aToken)
aToken - RrpcRightNotGrantedExceptionRrpcConnectorNotFoundExceptionpublic static void setDefaultSpanwThread(boolean aDefaultValue)
public AbstractRpc send(Object... aArg)
aArg - objects you want to send to the client.public AbstractRpc sendListOfArgs(List aArgs)
aArgs - a List of arguments already builtpublic Token call()
Copyright © 2013. All Rights Reserved.