PHP Class Gpf_Rpc_Request

Inheritance: extends Gpf_Object, implements Gpf_Rpc_Serializable
显示文件 Open project: fubralimited/php-oara Class Usage Examples

Protected Properties

Property Type Description
$apiSessionObject
$className
$methodName
$params Gpf_Rpc_Params
$response

Public Methods

Method Description
__construct ( $className, $methodName, Gpf_Api_Session $apiSessionObject = null )
addParam ( $name, $value )
getResponseError ( )
getResponseObject ( )
getStdResponse ( ) : stdClass
send ( )
sendNow ( )
setAccountId ( $accountId )
setMaxTimeout ( $timeout )
setParams ( Gpf_Rpc_Params $params )
setResponse ( $response )
setResponseError ( $message )
setUrl ( $url )
toObject ( )
toText ( )
useNewStyleRequestsEncoding ( $useNewStyle )

Private Methods

Method Description
getMultiRequest ( ) : Gpf_Rpc_MultiRequest
setRequiredParams ( $className, $methodName )

Method Details

__construct() public method

public __construct ( $className, $methodName, Gpf_Api_Session $apiSessionObject = null )
$apiSessionObject Gpf_Api_Session

addParam() public method

public addParam ( $name, $value )

getResponseError() public method

public getResponseError ( )

getResponseObject() final public method

final public getResponseObject ( )

getStdResponse() final public method

final public getStdResponse ( ) : stdClass
return stdClass

send() public method

public send ( )

sendNow() public method

public sendNow ( )

setAccountId() public method

public setAccountId ( $accountId )

setMaxTimeout() public method

public setMaxTimeout ( $timeout )

setParams() public method

public setParams ( Gpf_Rpc_Params $params )
$params Gpf_Rpc_Params

setResponse() public method

public setResponse ( $response )

setResponseError() public method

public setResponseError ( $message )

setUrl() public method

public setUrl ( $url )

toObject() public method

public toObject ( )

toText() public method

public toText ( )

useNewStyleRequestsEncoding() public method

public useNewStyleRequestsEncoding ( $useNewStyle )

Property Details

$apiSessionObject protected_oe property

protected $apiSessionObject

$className protected_oe property

protected $className

$methodName protected_oe property

protected $methodName

$params protected_oe property

protected Gpf_Rpc_Params $params
return Gpf_Rpc_Params

$response protected_oe property

protected $response