org.apache.xmlrpc.applet
Class SimpleXmlRpcClient

java.lang.Object
  extended by org.apache.xmlrpc.applet.SimpleXmlRpcClient

public class SimpleXmlRpcClient
extends java.lang.Object

A simple XML-RPC client. FIXME: This code is VERY out of date with the rest of the package.

Version:
$Id$

Field Summary
(package private)  java.net.URL url
           
 
Constructor Summary
SimpleXmlRpcClient(java.lang.String url)
          Construct a XML-RPC client for the URL represented by this String.
SimpleXmlRpcClient(java.lang.String hostname, int port)
          Construct a XML-RPC client for the specified hostname and port.
SimpleXmlRpcClient(java.net.URL url)
          Construct a XML-RPC client with this URL.
 
Method Summary
 java.lang.Object execute(java.lang.String method, java.util.Vector params)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

url

java.net.URL url
Constructor Detail

SimpleXmlRpcClient

public SimpleXmlRpcClient(java.net.URL url)
Construct a XML-RPC client with this URL.


SimpleXmlRpcClient

public SimpleXmlRpcClient(java.lang.String url)
                   throws java.net.MalformedURLException
Construct a XML-RPC client for the URL represented by this String.

Throws:
java.net.MalformedURLException

SimpleXmlRpcClient

public SimpleXmlRpcClient(java.lang.String hostname,
                          int port)
                   throws java.net.MalformedURLException
Construct a XML-RPC client for the specified hostname and port.

Throws:
java.net.MalformedURLException
Method Detail

execute

public java.lang.Object execute(java.lang.String method,
                                java.util.Vector params)
                         throws XmlRpcException,
                                java.io.IOException
Parameters:
method -
params -
Returns:
Throws:
XmlRpcException
java.io.IOException


Copyright 2001-2001-2005 Apache Software Foundation. All Rights Reserved.