\JCORE\TRANSPORT\JSONJSONRPC_1_0_API

Class JSONRPC_1_0_API

Summary

Methods
Properties
Constants
__construct()
getServiceName()
parseRequest()
compileResponse()
$id
$result
$error
$responseData
No constants found
exitNotice()
callService()
$params
$raw_data
$parsedRequest
$serviceObject
$serviceResponse
$resultHandler
N/A
No private methods found
No private properties found
N/A

Properties

$id

$id : string

id

Type

string

$result

$result : array

result

Type

array

$error

$error : mixed

error

Type

mixed

$responseData

$responseData : array

responseData

Type

array

$params

$params : array

params

Type

array

$raw_data

$raw_data : mixed

raw_data

Type

mixed

$parsedRequest

$parsedRequest : string

parsedRequest

Type

string

$serviceObject

$serviceObject : mixed

serviceObject

Type

mixed

$serviceResponse

$serviceResponse : mixed

serviceResponse

Type

mixed

$resultHandler

$resultHandler : mixed

resultHandler

Type

mixed

Methods

__construct()

__construct() : null

DESCRIPTOR: __construct

Returns

null

getServiceName()

getServiceName() : string

DESCRIPTOR: a method to get the called service name

Returns

string

parseRequest()

parseRequest(  $raw_data) : \JCORE\TRANSPORT\JSON\return

DESCRIPTOR: a method to parse the request

Parameters

$raw_data

Returns

\JCORE\TRANSPORT\JSON\return —

NULL

compileResponse()

compileResponse(  $dataSet) : \JCORE\TRANSPORT\JSON\return

DESCRIPTOR: enforce a method to compile the response in the sub class

Parameters

$dataSet

Returns

\JCORE\TRANSPORT\JSON\return —

NULL

exitNotice()

exitNotice() : NULL

DESCRIPTOR: exitNotice

Returns

NULL

callService()

callService(  $parsedRequest = null) : boolean

callService

Parameters

$parsedRequest

Returns

boolean