Свойство | Type | Description | |
---|---|---|---|
$byref | |||
$failround | |||
$failswitch | |||
$filters | |||
$idempotent | |||
$onError | |||
$onFailswitch | |||
$retry | |||
$simple | |||
$timeout | |||
$uri |
Свойство | Type | Description | |
---|---|---|---|
$async |
Méthode | Description | |
---|---|---|
__call ( $name, array $args ) | ||
__construct ( $uriList = null, $async = true ) | ||
__destruct ( ) | ||
__get ( $name ) | ||
addFilter ( 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, InvokeSettings $settings = null ) | ||
invokeHandler ( $name, array &$args, stdClass $context ) | *protected | |
isByref ( ) | ||
isFailswitch ( ) | ||
isIdempotent ( ) | ||
isSimple ( ) | ||
isSubscribed ( $name ) | ||
registerClientFactory ( $scheme, $clientFactory ) | ||
removeFilter ( Filter $filter ) | ||
retry ( $request, stdClass $context ) | *private | |
setByref ( $byref ) | ||
setFailswitch ( $failswitch ) | ||
setFilter ( 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 = '' ) |
Méthode | Description | |
---|---|---|
getNextFilterHandler ( Closure $next, $handler ) | ||
getNextInvokeHandler ( Closure $next, $handler ) | ||
sendAndReceive ( $request, stdClass $context ) | ||
setUri ( $uri ) | ||
wait ( $interval, $callback ) |
Méthode | Description | |
---|---|---|
asyncBeforeFilterHandler ( $request, stdClass $context ) | ||
asyncInvokeHandler ( $name, array &$args, stdClass $context ) | ||
autoId ( ) | ||
delTopic ( &$topics, $id, $callback ) | ||
encode ( $name, array $args, stdClass $context ) | ||
failswitch ( ) | ||
getContext ( InvokeSettings $settings ) | ||
initClientFactories ( ) | ||
outputFilter ( $request, stdClass $context ) | ||
syncBeforeFilterHandler ( $request, stdClass $context ) | ||
syncInvokeHandler ( $name, array &$args, stdClass $context ) |
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 ) |
abstract protected sendAndReceive ( $request, stdClass $context ) | ||
$context | stdClass |
public subscribe ( $name, $id = null, $callback = null, $timeout = null, $failswitch = false ) |
public static tryRegisterClientFactory ( $scheme, $clientFactory ) |
public unsubscribe ( $name, $id = null, $callback = null ) |