Property | Type | Description | |
---|---|---|---|
$authenticated | boolean | ||
$loop | React\EventLoop\LoopInterface | ||
$pingRequests | array | ||
$realm | |||
$sessionId | integer | ||
$state | integer | ||
$transport | Thruway\Transport\TransportInterface |
Method | Description | |
---|---|---|
abort ( mixed $details = null, mixed $responseURI = null ) | process abort request | |
getAuthenticated ( ) : boolean | Get authentication state (authenticated or not) | |
getLoop ( ) : React\EventLoop\LoopInterface | Get loop | |
getRealm ( ) : |
Get realm | |
getSessionId ( ) : integer | Get session ID | |
getState ( ) : integer | Get client state | |
getTransport ( ) : Thruway\Transport\TransportInterface | Get transport | |
isAuthenticated ( ) : boolean | check is authenticated | |
isGoodbyeSent ( ) : boolean | Check sent Goodbye message | |
ping ( integer $timeout = 5 ) : |
Ping | |
sendMessage ( Thruway\Message\Message $msg ) : mixed | Send message | |
setAuthenticated ( boolean $authenticated ) | Set athentication state (authenticated or not) | |
setGoodbyeSent ( boolean $goodbyeSent ) | Set state sent goodbye message ? | |
setLoop ( React\EventLoop\LoopInterface $loop ) | Set loop | |
setRealm ( |
Set realm | |
setState ( integer $state ) | Set client state | |
shutdown ( ) | Process Shutdown session |
public getAuthenticated ( ) : boolean | ||
return | boolean |
public getLoop ( ) : React\EventLoop\LoopInterface | ||
return | React\EventLoop\LoopInterface |
public getTransport ( ) : Thruway\Transport\TransportInterface | ||
return | Thruway\Transport\TransportInterface |
public isAuthenticated ( ) : boolean | ||
return | boolean |
public isGoodbyeSent ( ) : boolean | ||
return | boolean |
abstract public sendMessage ( Thruway\Message\Message $msg ) : mixed | ||
$msg | Thruway\Message\Message | |
return | mixed |
public setAuthenticated ( boolean $authenticated ) | ||
$authenticated | boolean |
public setGoodbyeSent ( boolean $goodbyeSent ) | ||
$goodbyeSent | boolean |
public setLoop ( React\EventLoop\LoopInterface $loop ) | ||
$loop | React\EventLoop\LoopInterface |
protected LoopInterface,React\EventLoop $loop | ||
return | React\EventLoop\LoopInterface |