Property | Type | Description | |
---|---|---|---|
$byref | |||
$failround | |||
$failswitch | |||
$filters | |||
$idempotent | |||
$onError | |||
$onFailswitch | |||
$retry | |||
$simple | |||
$timeout | |||
$uri |
Property | Type | Description | |
---|---|---|---|
$async |
Method | Description | |
---|---|---|
__call ( $name, array $args ) | ||
__construct ( $uriList = null, $async = true ) | ||
__destruct ( ) | ||
__get ( $name ) | ||
addFilter ( hprose\Filter $filter ) | ||
afterFilterHandler ( $request, stdClass $context ) | *protected | |
beforeFilterHandler ( $request, stdClass $context ) | *protected | |
close ( ) | ||
create ( $uriList, $async = true ) | ||
decode ( $response, array &$args, stdClass $context ) | *private | |
getFailround ( ) | ||
getFilter ( ) | ||
getId ( ) | ||
getRetry ( ) | ||
getTimeout ( ) | ||
getTopic ( $name, $id ) | *private | |
getUriList ( ) | ||
inputFilter ( $response, stdClass $context ) | *private | |
invoke ( $name, array &$args = [], $callback = null, hprose\InvokeSettings $settings = null ) | ||
invokeHandler ( $name, array &$args, stdClass $context ) | *protected | |
isByref ( ) | ||
isFailswitch ( ) | ||
isIdempotent ( ) | ||
isSimple ( ) | ||
isSubscribed ( $name ) | ||
registerClientFactory ( $scheme, $clientFactory ) | ||
removeFilter ( hprose\Filter $filter ) | ||
retry ( $request, stdClass $context ) | *private | |
setByref ( $byref ) | ||
setFailswitch ( $failswitch ) | ||
setFilter ( hprose\Filter $filter ) | ||
setIdempotent ( $idempotent ) | ||
setRetry ( $retry ) | ||
setSimple ( $simple = true ) | ||
setTimeout ( $timeout ) | ||
setUriList ( $uriList ) | ||
subscribe ( $name, $id = null, $callback = null, $timeout = null, $failswitch = false ) | subscribe($name, $id, $callback, $timeout, $failswitch) | |
subscribedList ( ) | ||
tryRegisterClientFactory ( $scheme, $clientFactory ) | ||
unsubscribe ( $name, $id = null, $callback = null ) | unsubscribe($name, $id, $callback) | |
useService ( $uriList = [], $namespace = '' ) |
Method | Description | |
---|---|---|
getNextFilterHandler ( Closure $next, $handler ) | ||
getNextInvokeHandler ( Closure $next, $handler ) | ||
sendAndReceive ( $request, stdClass $context ) | ||
setUri ( $uri ) | ||
wait ( $interval, $callback ) |
Method | Description | |
---|---|---|
asyncBeforeFilterHandler ( $request, stdClass $context ) | ||
asyncInvokeHandler ( $name, array &$args, stdClass $context ) | ||
autoId ( ) | ||
delTopic ( &$topics, $id, $callback ) | ||
encode ( $name, array $args, stdClass $context ) | ||
failswitch ( ) | ||
getContext ( hprose\InvokeSettings $settings ) | ||
initClientFactories ( ) | ||
outputFilter ( $request, stdClass $context ) | ||
syncBeforeFilterHandler ( $request, stdClass $context ) | ||
syncInvokeHandler ( $name, array &$args, stdClass $context ) |
final public addFilter ( hprose\Filter $filter ) | ||
$filter | hprose\Filter |
public afterFilterHandler ( $request, stdClass $context ) | ||
$context | stdClass |
public beforeFilterHandler ( $request, stdClass $context ) | ||
$context | stdClass |
protected getNextFilterHandler ( Closure $next, $handler ) | ||
$next | Closure |
protected getNextInvokeHandler ( Closure $next, $handler ) | ||
$next | Closure |
public inputFilter ( $response, stdClass $context ) | ||
$context | stdClass |
public invokeHandler ( $name, array &$args, stdClass $context ) | ||
$args | array | |
$context | stdClass |
public static registerClientFactory ( $scheme, $clientFactory ) |
final public removeFilter ( hprose\Filter $filter ) | ||
$filter | hprose\Filter |
abstract protected sendAndReceive ( $request, stdClass $context ) | ||
$context | stdClass |
final public setFilter ( hprose\Filter $filter ) | ||
$filter | hprose\Filter |
public subscribe ( $name, $id = null, $callback = null, $timeout = null, $failswitch = false ) |
public static tryRegisterClientFactory ( $scheme, $clientFactory ) |
public unsubscribe ( $name, $id = null, $callback = null ) |