oscript.data
Class XmlRpcClientLite

java.lang.Object
  extended by oscript.data.Value
      extended by oscript.data.OObject
          extended by oscript.data.XmlRpcClient
              extended by oscript.data.XmlRpcClientLite
All Implemented Interfaces:
java.io.Serializable

public class XmlRpcClientLite
extends XmlRpcClient

A wrapper for the Apacle XML-RPC client lite library. For example:

   var adder = new XmlRpcClientLite("http://hostname:port/adder");
   writeln( adder.plus( 1, 2 ) );
 
The lite library uses it's own lightweight HTTP client implementation for better performance. This lightweight implementation does not have full HTTP support (Proxies, Redirect, etc).

Version:
1.15
Author:
Rob Clark (rob@ti.com)
See Also:
Serialized Form

Field Summary
static java.lang.String[] MEMBER_NAMES
           
static java.lang.String PARENT_TYPE_NAME
           
static oscript.data.Value TYPE
          The type object for an instance of XmlRpcClientLite.
static java.lang.String TYPE_NAME
           
 
Fields inherited from class oscript.data.OObject
EMPTY_EXPR_LIST_EVALUATOR
 
Fields inherited from class oscript.data.Value
DEBUG, NULL, UNDEFINED
 
Constructor Summary
XmlRpcClientLite(oscript.util.MemberTable args)
          Class Constructor.
XmlRpcClientLite(java.lang.String url)
          Class Constructor.
 
Method Summary
static void init()
           
 
Methods inherited from class oscript.data.XmlRpcClient
argsToStr, getMember, getTypeImpl, setXmlRpcClient
 
Methods inherited from class oscript.data.OObject
castToString, populateMemberSet
 
Methods inherited from class oscript.data.Value
_getTypeMember, _populateTypeMemberSet, bopBitwiseAnd, bopBitwiseAndR, bopBitwiseOr, bopBitwiseOrR, bopBitwiseXor, bopBitwiseXorR, bopCast, bopCastR, bopDivide, bopDivideR, bopEquals, bopEqualsR, bopGreaterThan, bopGreaterThanOrEquals, bopGreaterThanOrEqualsR, bopGreaterThanR, bopInstanceOf, bopInstanceOfR, bopLeftShift, bopLeftShiftR, bopLessThan, bopLessThanOrEquals, bopLessThanOrEqualsR, bopLessThanR, bopLogicalAnd, bopLogicalAndR, bopLogicalOr, bopLogicalOrR, bopMinus, bopMinusR, bopMultiply, bopMultiplyR, bopNotEquals, bopNotEqualsR, bopPlus, bopPlusR, bopRemainder, bopRemainderR, bopSignedRightShift, bopSignedRightShiftR, bopUnsignedRightShift, bopUnsignedRightShiftR, callAsConstructor, callAsConstructor, callAsConstructor, callAsExtends, callAsExtends, callAsExtends, callAsFunction, callAsFunction, callAsFunction, castToBoolean, castToExactNumber, castToInexactNumber, castToJavaObject, elementAt, elementsAt, getMember, getMember, getMember, getMember, getMember, getMonitor, getType, getTypeMember, getTypeMember, isA, length, memberSet, noSuchMember, opAssign, populateTypeMemberSet, readExternal, toString, unhand, uopBitwiseNot, uopDecrement, uopIncrement, uopLogicalNot, uopMinus, uopPlus, writeExternal
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

TYPE

public static final oscript.data.Value TYPE
The type object for an instance of XmlRpcClientLite.


PARENT_TYPE_NAME

public static final java.lang.String PARENT_TYPE_NAME
See Also:
Constant Field Values

TYPE_NAME

public static final java.lang.String TYPE_NAME
See Also:
Constant Field Values

MEMBER_NAMES

public static final java.lang.String[] MEMBER_NAMES
Constructor Detail

XmlRpcClientLite

public XmlRpcClientLite(java.lang.String url)
                 throws java.net.MalformedURLException
Class Constructor.

Parameters:
url - the URL
Throws:
java.net.MalformedURLException

XmlRpcClientLite

public XmlRpcClientLite(oscript.util.MemberTable args)
                 throws java.net.MalformedURLException
Class Constructor. This is the constructor that gets called via an BuiltinType instance.

Parameters:
args - arguments to this constructor
Throws:
PackagedScriptObjectException(Exception) - if wrong number of args
java.net.MalformedURLException
Method Detail

init

public static void init()