Method |
Description |
|
attachWss ( Pool $wss ) : boolean |
attachWss |
|
beginRequest ( object $req, object $upstream ) : object |
Creates Request. |
|
beginSession ( string $path, string $sessId, string $server ) : object |
beginSession |
|
callMethod ( string $method, object $req, object $upstream ) : object |
callMethod |
|
detachWss ( object $wss ) : boolean |
detachWss |
|
endSession ( Session $session ) : void |
endSession |
|
expire ( string $key, integer $seconds, callable $cb = null ) : void |
expire |
|
getLocalSubscribersCount ( string $chan ) : integer |
getLocalSubscribersCount |
|
getRouteOptions ( string $path ) : array |
getRouteOptions |
|
getkey ( string $key, callable $cb = null ) : void |
getkey |
|
onFinish ( ) : void |
onFinish |
|
onReady ( ) : void |
Called when the worker is ready to go |
|
publish ( string $chan, callable $cb, callable $opcb = null ) : void |
publish |
|
setRedis ( Pool $redis ) |
Set Redis instance |
|
setkey ( string $key, mixed $value, callable $cb = null ) : void |
setkey |
|
setnx ( string $key, mixed $value, callable $cb = null ) : void |
setnx |
|
subscribe ( string $chan, callable $cb, callable $opcb = null ) : void |
subscribe |
|
unsubscribe ( string $chan, callable $cb, callable $opcb = null ) : void |
unsubscribe |
|
unsubscribeReal ( string $chan, callable $opcb = null ) : void |
unsubscribeReal |
|
wsHandler ( object $ws, string $path, object $client, callable $state ) : boolean |
wsHandler |
|