org.apache.xmlrpc.fesi
Class FesiRpcServer

java.lang.Object
  |
  +--FESI.Data.ESValue
        |
        +--FESI.Data.ESObject
              |
              +--FESI.Data.ObjectPrototype
                    |
                    +--org.apache.xmlrpc.fesi.FesiRpcServer

public class FesiRpcServer
extends FESI.Data.ObjectPrototype

An ESObject that makes its properties (sub-objects) callable via XML-RPC. For example, if Server is an instance of FesiRpcServer, the following would make the functions defined for someObject available to XML-RPC clients:

 Server.someObject = new SomeObject ();
 

Version:
$Id: FesiRpcServer.java,v 1.2 2002/03/20 15:11:04 mpoeschl Exp $
Author:
Hannes Wallnoefer

Field Summary
 WebServer srv
           
 
Fields inherited from class FESI.Data.ESObject
evaluator, properties
 
Fields inherited from class FESI.Data.ESValue
EStypeBoolean, EStypeNull, EStypeNumber, EStypeObject, EStypeString, EStypeUndefined
 
Constructor Summary
FesiRpcServer(int port, FESI.Data.ESObject op, FESI.Interpreter.Evaluator eval)
          Create an XML-RPC server listening on a specific port.
FesiRpcServer(WebServer srv, FESI.Data.ESObject op, FESI.Interpreter.Evaluator eval)
          Create an XML-RPC server with an already existing WebServer.
 
Method Summary
 boolean deleteProperty(java.lang.String propertyName, int hash)
           
 void putProperty(java.lang.String propertyName, FESI.Data.ESValue propertyValue, int hash)
           
 
Methods inherited from class FESI.Data.ESObject
booleanValue, callFunction, doConstruct, doIndirectCall, doIndirectCallInScope, doubleValue, getAllDescriptions, getAllProperties, getDefaultValue, getDefaultValue, getDescription, getESClassName, getEvaluator, getProperties, getProperty, getProperty, getPropertyInScope, getPrototype, getSpecialPropertyNames, getTypeOf, getTypeofString, hasProperty, isComposite, isDirectEnumerator, isHiddenProperty, isPrimitive, putHiddenProperty, putProperty, toDetailString, toESObject, toESPrimitive, toESPrimitive, toJavaObject, toString
 
Methods inherited from class FESI.Data.ESValue
getDescription, isBooleanValue, isNumberValue, isStringValue, toESBoolean, toESNumber, toESString, toInt32, toInteger, toUInt16, toUInt32
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

srv

public WebServer srv
Constructor Detail

FesiRpcServer

public FesiRpcServer(WebServer srv,
                     FESI.Data.ESObject op,
                     FESI.Interpreter.Evaluator eval)
              throws java.io.IOException,
                     FESI.Exceptions.EcmaScriptException
Create an XML-RPC server with an already existing WebServer.

FesiRpcServer

public FesiRpcServer(int port,
                     FESI.Data.ESObject op,
                     FESI.Interpreter.Evaluator eval)
              throws java.io.IOException,
                     FESI.Exceptions.EcmaScriptException
Create an XML-RPC server listening on a specific port.
Method Detail

putProperty

public void putProperty(java.lang.String propertyName,
                        FESI.Data.ESValue propertyValue,
                        int hash)
                 throws FESI.Exceptions.EcmaScriptException
Overrides:
putProperty in class FESI.Data.ESObject

deleteProperty

public boolean deleteProperty(java.lang.String propertyName,
                              int hash)
                       throws FESI.Exceptions.EcmaScriptException
Overrides:
deleteProperty in class FESI.Data.ESObject


Copyright © 1999-2002 Apache Software Foundation. All Rights Reserved.