Class TRpcProtocol
TRpcProtocol class
TRpcProtocol is the base class used to implement a protocol in a TRpcService
. Prado already implements two protocols: TXmlRpcProtocol
for Xml-Rpc request and TJsonRpcProtocol
for JSON-Rpc requests.
Abstract
Package: System\Web\Services
Copyright: 2010 Bigpoint GmbH
License: http://www.pradosoft.com/license/
Author: Robin J. Rogge <rrogge@bigpoint.net>
Version: $Id$
Since: 3.2
Located at Web/Services/TRpcService.php
Package: System\Web\Services
Copyright: 2010 Bigpoint GmbH
License: http://www.pradosoft.com/license/
Author: Robin J. Rogge <rrogge@bigpoint.net>
Version: $Id$
Since: 3.2
Located at Web/Services/TRpcService.php
abstract public
processed
|
|
abstract public
a
|
|
abstract public
|
|
abstract public
string
|
|
abstract public
mixed
|
|
public
|
#
addMethod( string $methodName, array $handlerDetails )
Registers a new RPC method and handler details |
public
mixed
|
#
callApiMethod( string $methodName, array $parameters )
Calls the callback handler for the given method |
protected
array
|
$rpcMethods | array() |
#
containing the mapping from RPC method names to the actual handlers |