org.apache.xmlrpc.applet

Class XmlRpcApplet

Known Direct Subclasses:
JSXmlRpcApplet

public class XmlRpcApplet
extends Applet

An applet that provides basic XML-RPC client functionality.
Version:
$Id: XmlRpcApplet.java 233919 2005-04-22 10:26:17Z hgomez $

Field Summary

(package private) SimpleXmlRpcClient
client

Method Summary

Object
execute(String methodName, Vector arguments)
Calls the XML-RPC server with the specified methodname and argument list.
void
initClient()
Initialize the XML-RPC client, trying to get the port number from the applet parameter tags.
void
initClient(int port)
Initialize the XML-RPC client with the specified port and the server this applet came from.
void
initClient(int port, String uri)
Initialize the XML-RPC client with the specified port and request path and the server this applet came from.

Field Details

client

(package private)  SimpleXmlRpcClient client

Method Details

execute

public Object execute(String methodName,
                      Vector arguments)
            throws XmlRpcException,
                   IOException
Calls the XML-RPC server with the specified methodname and argument list.

initClient

public void initClient()
Initialize the XML-RPC client, trying to get the port number from the applet parameter tags. The default for port is 80. The client connects to the server this applet came from.

initClient

public void initClient(int port)
Initialize the XML-RPC client with the specified port and the server this applet came from.

initClient

public void initClient(int port,
                       String uri)
Initialize the XML-RPC client with the specified port and request path and the server this applet came from.

Copyright B) 1999-2002 Apache Software Foundation. All Rights Reserved.