org.xins.server
Class FunctionRequest

java.lang.Object
  extended byorg.xins.server.FunctionRequest

public class FunctionRequest
extends Object

Function request. Consists of a function name, a set of parameters and a data section. The function name is mandatory, while there may not be any parameters nor data section.

Since:
XINS 1.2.0
Version:
$Revision: 1.12 $ $Date: 2006/09/02 12:34:35 $
Author:
Anthony Goubard, Ernst de Haan

Constructor Summary
FunctionRequest(String functionName, PropertyReader parameters, Element dataElement)
          Creates a new FunctionRequest.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FunctionRequest

public FunctionRequest(String functionName,
                       PropertyReader parameters,
                       Element dataElement)
                throws IllegalArgumentException
Creates a new FunctionRequest. The function name must be specified.

Parameters:
functionName - the name of the function, cannot be null.
parameters - the parameters of the function requested, cannot be null.
dataElement - the data section of the input request, can be null.
Throws:
IllegalArgumentException - if functionName == null || parameters == null.


See http://www.xins.org/.