ILIAS
eassessment Revision 61809
|
Public Member Functions | |
__construct ($callHandler, $options=array()) | |
Create a new XML-RPC Server. | |
handleCall () | |
Respond to the XML-RPC request. | |
getResponse () | |
get the XML response of the XMLRPC server | |
Public Member Functions inherited from XML_RPC2_Server | |
autoDocument () | |
autoDocument. |
Protected Member Functions | |
epiFunctionHandlerAdapter ($method_name, $params, $app_data) | |
This is an adapter between XML_RPC2_CallHandler::__call and xmlrpc_server_register_method callback interface. | |
Protected Member Functions inherited from XML_RPC2_Server | |
getContentLength ($content) | |
Gets the content legth of a serialized XML-RPC message in bytes. |
Private Attributes | |
$_xmlrpcextServer |
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 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_Xmlrpcext_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 |
Reimplemented from XML_RPC2_Server.
Definition at line 88 of file Server.php.
References XML_RPC2_Server\$callHandler.
|
protected |
This is an adapter between XML_RPC2_CallHandler::__call and xmlrpc_server_register_method callback interface.
string | Method name |
array | Parameters |
array | Application data (ignored) |
Definition at line 111 of file Server.php.
XML_RPC2_Backend_Xmlrpcext_Server::getResponse | ( | ) |
get the XML response of the XMLRPC server
Definition at line 144 of file Server.php.
References $GLOBALS, XML_RPC2_Backend_Php_Response\encodeFault(), and XML_RPC2_FaultException\getFaultCode().
Referenced by handleCall().
XML_RPC2_Backend_Xmlrpcext_Server::handleCall | ( | ) |
Respond to the XML-RPC request.
handleCall reads the XML-RPC request from the raw HTTP body and decodes it. It then calls the corresponding method in the call handler class, returning the encoded result to the client.
Reimplemented from XML_RPC2_Server.
Definition at line 124 of file Server.php.
References $GLOBALS, XML_RPC2_Server\autoDocument(), XML_RPC2_Server\getContentLength(), and getResponse().
|
private |
Definition at line 74 of file Server.php.