Метод | Описание | |
---|---|---|
__construct ( ) | ||
execute ( $request = '' ) : Gpf_Rpc_Serializable | ||
executeAndEcho ( $request = '' ) | Return response to standard output | |
getRequestsArray ( Gpf_Rpc_Params $params ) | ||
run ( Gpf_Rpc_Params $params ) : Gpf_Rpc_Serializable | Executes multi request | |
syncTime ( Gpf_Rpc_Params $params ) : Gpf_Rpc_Action | Set time offset between client and server and store it to session Offset is computed as client time - server time |
Метод | Описание | |
---|---|---|
callServiceMethod ( Gpf_Rpc_Params $params ) |
Метод | Описание | |
---|---|---|
decodeRequest ( $requestData ) | ||
encodeResponse ( Gpf_Rpc_Serializable $response ) | ||
executeRequest ( Gpf_Rpc_Params $params ) : Gpf_Rpc_Serializable | ||
getEncoderHandlerType ( array $requestData ) : string | Compute correct handler type for server response | |
initDatabaseLogger ( ) | ||
isFormHandler ( $requestData, $type, $handler ) | ||
isFormRequest ( $request ) | ||
isStandardRequestUsed ( $requestArray ) | ||
parseRequestDataFromPost ( $data ) | ||
setDecoder ( $request ) | ||
setEncoder ( Gpf_Rpc_Params $params ) | ||
setStandardRequest ( ) |
protected callServiceMethod ( Gpf_Rpc_Params $params ) | ||
$params | Gpf_Rpc_Params |
public execute ( $request = '' ) : Gpf_Rpc_Serializable | ||
Результат | Gpf_Rpc_Serializable |
public executeAndEcho ( $request = '' ) |
public getRequestsArray ( Gpf_Rpc_Params $params ) | ||
$params | Gpf_Rpc_Params |
public run ( Gpf_Rpc_Params $params ) : Gpf_Rpc_Serializable | ||
$params | Gpf_Rpc_Params | |
Результат | Gpf_Rpc_Serializable |
public syncTime ( Gpf_Rpc_Params $params ) : Gpf_Rpc_Action | ||
$params | Gpf_Rpc_Params | |
Результат | Gpf_Rpc_Action |