class RealApiProxy extends ApiProxyBase (View source)

ApiProxy implementation

Constants

OK

RPC_FAILED

CALL_NOT_FOUND

ARGUMENT_ERROR

DEADLINE_EXCEEDED

CANCELLED

APPLICATION_ERROR

OTHER_ERROR

OVER_QUOTA

REQUEST_TOO_LARGE

CAPABILITY_DISABLED

FEATURE_DISABLED

RESPONSE_TOO_LARGE

TICKET_HEADER

DEV_TICKET_HEADER

DAPPER_ENV_KEY

SERVICE_BRIDGE_HOST

API_PORT

SERVICE_ENDPOINT_NAME

APIHOST_METHOD

PROXY_PATH

DAPPER_HEADER

SERVICE_DEADLINE_HEADER

SERVICE_ENDPOINT_HEADER

SERVICE_METHOD_HEADER

RPC_CONTENT_TYPE

DEFAULT_TIMEOUT_SEC

DEADLINE_DELTA_SECONDS

Properties

static protected $exceptionLookupTable

Methods

makeSyncCall($package, $call_name, $request, $response, $deadline = null)

Makes a synchronous RPC call.

__construct($default_ticket = null, $mock_client = null)

Consruct a RealAPiProxy object.

Details

makeSyncCall($package, $call_name, $request, $response, $deadline = null)

Makes a synchronous RPC call.

Parameters

$package
$call_name
$request
$response
$deadline

__construct($default_ticket = null, $mock_client = null)

Consruct a RealAPiProxy object.

Parameters

$default_ticket
$mock_client