ILIAS
eassessment Revision 61809
|
Public Member Functions | |
__construct ($callHandler, $options=array()) | |
Create a new XML-RPC Server. | |
handleCall () | |
Receive the XML-RPC request, decode the HTTP payload, delegate execution to the call handler, and output the encoded call handler response. | |
getResponse () | |
Get the XML response of the XMLRPC server. | |
Public Member Functions inherited from XML_RPC2_Server | |
autoDocument () | |
autoDocument. |
Additional Inherited Members | |
Static Public Member Functions inherited from XML_RPC2_Server | |
static | create ($callTarget, $options=array()) |
Factory method to select a backend and return a new XML_RPC2_Server based on the backend. | |
static | errorToException ($errno, $errstr, $errfile, $errline) |
Transform an error into an exception. | |
Protected Member Functions inherited from XML_RPC2_Server | |
getContentLength ($content) | |
Gets the content legth of a serialized XML-RPC message in bytes. | |
Protected Attributes inherited from XML_RPC2_Server | |
$callHandler = null | |
$prefix = '' | |
$encoding = 'iso-8859-1' | |
$autoDocument = true | |
$autoDocumentExternalLinks = true | |
$signatureChecking = true |
Definition at line 64 of file Server.php.
XML_RPC2_Backend_Php_Server::__construct | ( | $callHandler, | |
$options = array() |
|||
) |
Create a new XML-RPC Server.
The constructor receives a mandatory parameter: the Call Handler. The call handler executes the actual method call. XML_RPC2 server acts as a protocol decoder/encoder between the call handler and the client
object | $callHandler | |
array | $options | associative array of options public |
Reimplemented from XML_RPC2_Server.
Definition at line 79 of file Server.php.
References XML_RPC2_Server\$callHandler.
XML_RPC2_Backend_Php_Server::getResponse | ( | ) |
Get the XML response of the XMLRPC server.
Definition at line 111 of file Server.php.
References XML_RPC2_Server\$encoding, $GLOBALS, XML_RPC2_Backend_Php_Request\createFromDecode(), XML_RPC2_Backend_Php_Response\encode(), XML_RPC2_Backend_Php_Response\encodeFault(), and XML_RPC2_FaultException\getFaultCode().
Referenced by handleCall().
XML_RPC2_Backend_Php_Server::handleCall | ( | ) |
Receive the XML-RPC request, decode the HTTP payload, delegate execution to the call handler, and output the encoded call handler response.
Reimplemented from XML_RPC2_Server.
Definition at line 91 of file Server.php.
References $GLOBALS, XML_RPC2_Server\autoDocument(), XML_RPC2_Server\getContentLength(), and getResponse().