|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.folt.rpc.client.OpenTMSClient
public class OpenTMSClient
| Constructor Summary | |
|---|---|
OpenTMSClient()
|
|
| Method Summary | |
|---|---|
static java.util.Vector |
execute(java.util.Vector vector)
Execute executes a defined method and returns a vector containing the execution results. |
static org.apache.xmlrpc.XmlRpcClient |
init()
init Method initialises the XmlRpcClient. |
static void |
main(java.lang.String[] args)
main executes an OpenTMS message. |
static java.util.Vector |
testMessage()
testMessage just sends a test message to the server. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OpenTMSClient()
| Method Detail |
|---|
public static java.util.Vector execute(java.util.Vector vector)
Example:
Vector vector = new Vector();
Hashtable message = new Hashtable();
message.put("testString", "OpenTMS Test Message");
message.put("message", "TestMessage");
vector.add(message);
Vector result = execute(vector);
vector - (argument) of type Vector contains the values for the execute method of the XmlRpcClient. For an example see testmessage.
public static org.apache.xmlrpc.XmlRpcClient init()
public static void main(java.lang.String[] args)
TestMessage represents a OpenTMS rpc message (de.folt.rpc.messages.TestMessage is executed)
args - a list of strings; structured as above.public static java.util.Vector testMessage()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||