|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.emf.emfstore.internal.client.model.connectionmanager.xmlrpc.XmlRpcClientManager
public class XmlRpcClientManager
Manager for XML RPC server calls.
| Constructor Summary | |
|---|---|
XmlRpcClientManager(String serverInterface)
Default constructor. |
|
| Method Summary | ||
|---|---|---|
void |
call(String methodName,
Object... parameters)
Executes a server call without return value. |
|
|
callWithListResult(String methodName,
Class<T> returnType,
Object... parameters)
Executes a server call with list return value. |
|
|
callWithResult(String methodName,
Class<T> returnType,
Object... parameters)
Executes a server call with return value. |
|
void |
initConnection(ServerInfo serverInfo)
Initializes the connection. |
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XmlRpcClientManager(String serverInterface)
serverInterface - name of interface| Method Detail |
|---|
public void initConnection(ServerInfo serverInfo)
throws ConnectionException
serverInfo - server info
ConnectionException - in case of failure
public <T> T callWithResult(String methodName,
Class<T> returnType,
Object... parameters)
throws ESException
T - return typemethodName - method namereturnType - return typeparameters - parameters
ESException - in case of failure
public <T> List<T> callWithListResult(String methodName,
Class<T> returnType,
Object... parameters)
throws ESException
T - return typemethodName - method namereturnType - list return typeparameters - parameters
ESException - in case of failure
public void call(String methodName,
Object... parameters)
throws ESException
methodName - method nameparameters - parameters
ESException - in case of failure
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||