Property | Type | Description | |
---|---|---|---|
$debug | |||
$errorDelay | |||
$errorTypes | |||
$heartbeat | |||
$onAfterInvoke | |||
$onBeforeInvoke | |||
$onSendError | |||
$onSubscribe | |||
$onUnsubscribe | |||
$passContext | |||
$simple | |||
$timeout |
Property | Type | Description | |
---|---|---|---|
$timer | for push service | ||
$userFatalErrorHandler |
Method | Description | |
---|---|---|
__construct ( ) | ||
add ( ) | ||
addAsync ( ) | ||
addAsyncClassMethods ( $class, $scope = '', $aliasPrefix = '', array $options = [] ) | ||
addAsyncFunction ( $func, $alias = '', array $options = [] ) | ||
addAsyncFunctions ( array $funcs, array $aliases = [], array $options = [] ) | ||
addAsyncInstanceMethods ( $object, $class = '', $aliasPrefix = '', array $options = [] ) | ||
addAsyncMethod ( $method, $scope, $alias = '', array $options = [] ) | ||
addAsyncMethods ( $methods, $scope, $aliases = [], array $options = [] ) | ||
addAsyncMissingFunction ( $func, array $options = [] ) | ||
addAsyncMissingMethod ( $method, $scope, array $options = [] ) | ||
addClassMethods ( $class, $scope = '', $aliasPrefix = '', array $options = [] ) | ||
addFilter ( hprose\Filter $filter ) | ||
addFunction ( $func, $alias = '', array $options = [] ) | ||
addFunctions ( array $funcs, array $aliases = [], array $options = [] ) | ||
addInstanceMethods ( $object, $class = '', $aliasPrefix = '', array $options = [] ) | ||
addMethod ( $method, $scope, $alias = '', array $options = [] ) | ||
addMethods ( $methods, $scope, $aliases = [], array $options = [] ) | ||
addMissingFunction ( $func, array $options = [] ) | ||
addMissingMethod ( $method, $scope, array $options = [] ) | ||
afterFilterHandler ( $request, stdClas\stdClass $context ) | *protected | |
afterInvoke ( $name, array $args, stdClas\stdClass $context, $result ) | *private | |
beforeFilterHandler ( $request, stdClas\stdClass $context ) | *protected | |
broadcast ( $topic, $result, $callback = null ) | ||
callService ( array $args, stdClas\stdClass $context ) | *private | |
defaultHandle ( $request, stdClas\stdClass $context ) | ||
delTimer ( ArrayObjec\ArrayObject $topics, $id ) | *private | |
delayError ( $error, $context ) | *private | |
doOutput ( array $args, stdClas\stdClass $context, $result ) | *private | |
endError ( $error, stdClas\stdClass $context ) | ||
exist ( $topic, $id ) | ||
fatalErrorHandler ( ) | ||
getErrorDelay ( ) | ||
getErrorTypes ( ) | ||
getFilter ( ) | ||
getHeartbeat ( ) | ||
getNextId ( ) | ||
getTimeout ( ) | ||
getTopics ( $topic ) | *private | |
idlist ( $topic ) | ||
internalPush ( $topic, $id, $result ) | *private | |
invoke ( $name, array &$args, stdClas\stdClass $context ) | *private | |
invokeHandler ( $name, array &$args, stdClas\stdClass $context ) | *protected | |
isDebugEnabled ( ) | ||
isPassContext ( ) | ||
isSimple ( ) | ||
multicast ( $topic, $ids, $result, $callback = null ) | ||
offline ( ArrayObjec\ArrayObject $topics, $topic, $id ) | *private | |
outputFilter ( $data, stdClas\stdClass $context ) | *private | |
publish ( $topic, array $options = [] ) | ||
push ( $topic ) | push($topic, $id, $result) | |
remove ( $alias ) | ||
removeFilter ( hprose\Filter $filter ) | ||
resetTimer ( ArrayObjec\ArrayObject $topics, $topic, $id ) | *private | |
sendError ( $error, stdClas\stdClass $context ) | *private | |
setDebugEnabled ( $value = true ) | ||
setErrorDelay ( $value ) | ||
setErrorTypes ( $value ) | ||
setFilter ( hprose\Filter $filter ) | ||
setHeartbeat ( $value ) | ||
setPassContext ( $value = true ) | ||
setRequestTimer ( $topic, $id, $request, $timeout ) | *private | |
setSimple ( $value = true ) | ||
setTimeout ( $value ) | ||
unicast ( $topic, $id, $result, $callback = null ) |
Method | Description | |
---|---|---|
delay ( $interval, $data ) | ||
doFunctionList ( ) | ||
nextTick ( $callback ) |
Method | Description | |
---|---|---|
beforeInvoke ( $name, array &$args, stdClas\stdClass $context ) | ||
checkPushService ( ) | for push service | |
doInvoke ( hprose\BytesIO $stream, stdClas\stdClass $context ) | ||
getDeclaredOnlyInstanceMethods ( $class ) | ||
getDeclaredOnlyMethods ( $class ) | ||
getDeclaredOnlyStaticMethods ( $class ) | ||
inputFilter ( $data, stdClas\stdClass $context ) | ||
setTimer ( ArrayObjec\ArrayObject $topics, $topic, $id ) |
public addAsyncClassMethods ( $class, $scope = '', $aliasPrefix = '', array $options = [] ) | ||
$options | array |
public addAsyncFunction ( $func, $alias = '', array $options = [] ) | ||
$options | array |
public addAsyncInstanceMethods ( $object, $class = '', $aliasPrefix = '', array $options = [] ) | ||
$options | array |
public addAsyncMethod ( $method, $scope, $alias = '', array $options = [] ) | ||
$options | array |
public addAsyncMethods ( $methods, $scope, $aliases = [], array $options = [] ) | ||
$options | array |
public addAsyncMissingFunction ( $func, array $options = [] ) | ||
$options | array |
public addAsyncMissingMethod ( $method, $scope, array $options = [] ) | ||
$options | array |
public addClassMethods ( $class, $scope = '', $aliasPrefix = '', array $options = [] ) | ||
$options | array |
final public addFilter ( hprose\Filter $filter ) | ||
$filter | hprose\Filter |
public addFunction ( $func, $alias = '', array $options = [] ) | ||
$options | array |
public addInstanceMethods ( $object, $class = '', $aliasPrefix = '', array $options = [] ) | ||
$options | array |
public addMethods ( $methods, $scope, $aliases = [], array $options = [] ) | ||
$options | array |
public addMissingFunction ( $func, array $options = [] ) | ||
$options | array |
public addMissingMethod ( $method, $scope, array $options = [] ) | ||
$options | array |
public afterFilterHandler ( $request, stdClas\stdClass $context ) | ||
$context | stdClas\stdClass |
public afterInvoke ( $name, array $args, stdClas\stdClass $context, $result ) | ||
$args | array | |
$context | stdClas\stdClass |
public beforeFilterHandler ( $request, stdClas\stdClass $context ) | ||
$context | stdClas\stdClass |
public callService ( array $args, stdClas\stdClass $context ) | ||
$args | array | |
$context | stdClas\stdClass |
public defaultHandle ( $request, stdClas\stdClass $context ) | ||
$context | stdClas\stdClass |
public delTimer ( ArrayObjec\ArrayObject $topics, $id ) | ||
$topics | ArrayObjec\ArrayObject |
public endError ( $error, stdClas\stdClass $context ) | ||
$context | stdClas\stdClass |
public invokeHandler ( $name, array &$args, stdClas\stdClass $context ) | ||
$args | array | |
$context | stdClas\stdClass |
public offline ( ArrayObjec\ArrayObject $topics, $topic, $id ) | ||
$topics | ArrayObjec\ArrayObject |
public outputFilter ( $data, stdClas\stdClass $context ) | ||
$context | stdClas\stdClass |
final public removeFilter ( hprose\Filter $filter ) | ||
$filter | hprose\Filter |
public resetTimer ( ArrayObjec\ArrayObject $topics, $topic, $id ) | ||
$topics | ArrayObjec\ArrayObject |
public sendError ( $error, stdClas\stdClass $context ) | ||
$context | stdClas\stdClass |
final public setFilter ( hprose\Filter $filter ) | ||
$filter | hprose\Filter |