|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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 interfaceMethod Detail |
---|
public void initConnection(ServerInfo serverInfo) throws ConnectionException
serverInfo
- server info
ConnectionException
- in case of failurepublic <T> T callWithResult(String methodName, Class<T> returnType, Object... parameters) throws ESException
T
- return typemethodName
- method namereturnType
- return typeparameters
- parameters
ESException
- in case of failurepublic <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 failurepublic 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 |