XML_RPC2
[ class tree: XML_RPC2 ] [ index: XML_RPC2 ] [ all elements ]

Class: XML_RPC2_CachedServer

Source Location: /XML_RPC2-1.1.2/XML/RPC2/CachedServer.php

Class Overview


XML_RPC "cached server" class.


Author(s):

Copyright:

  • 2005-2006 Fabien MARTY

Methods


Inherited Variables

Inherited Methods


Class Details

[line 56]
XML_RPC "cached server" class.


[ Top ]


Method Detail

__construct (Constructor)   [line 170]

XML_RPC2_CachedServer __construct( $callTarget, [ $options = array()], object $callHandler)

Constructor
  • Access: protected

Parameters:

object   $callHandler   —  the call handler will receive a method call for each remote call received.
   $callTarget   — 
   $options   — 

[ Top ]

clean   [line 387]

void clean( )

Clean all the cache
  • Access: public

[ Top ]

create   [line 203]

object a create( mixed $callTarget, [array $options = array()])

"Emulated Factory" method to get the same API than XML_RPC2_Server class

Here, simply returns a new instance of XML_RPC2_CachedServer class

  • Return: server class instance
  • Access: public

Parameters:

mixed   $callTarget   —  either a class name or an object instance.
array   $options   —  associative array of options

[ Top ]

getContentLength   [line 402]

integer getContentLength( string $content)

Gets the content legth of a serialized XML-RPC message in bytes
  • Return: the content length in bytes.
  • Access: protected

Parameters:

string   $content   —  the serialized XML-RPC message.

[ Top ]

getResponse   [line 232]

string getResponse( )

get the XML response of the XMLRPC server
  • Return: the XML response
  • Access: public

[ Top ]

handleCall   [line 215]

void handleCall( )

handle XML_RPC calls
  • Access: public

[ Top ]


Documentation generated on Mon, 11 Mar 2019 15:56:38 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.