Method | Description | |
---|---|---|
addInternalClient ( Thruway\Peer\ClientInterface $client ) | Add a client that uses the internal transport provider | |
createNewSession ( Thruway\Transport\TransportInterface $transport ) : |
||
getAuthenticationManager ( ) : Thruway\Authentication\AuthenticationManagerInterface | Get authentication manager | |
getEventDispatcher ( ) : |
||
getRealmManager ( ) : |
Get realm manager | |
getSessionBySessionId ( integer $sessionId ) : |
Get session by session ID | |
onClose ( Thruway\Transport\TransportInterface $transport ) | Handle close session | |
onMessage ( Thruway\Transport\TransportInterface $transport, Thruway\Message\Message $msg ) : mixed | Handle process message | |
setAuthenticationManager ( Thruway\Authentication\AuthenticationManagerInterface $authenticationManager ) | Set authentication manager | |
start ( ) | Start the transport | |
stop ( boolean $gracefully = true ) | This is to stop the router. |
public addInternalClient ( Thruway\Peer\ClientInterface $client ) | ||
$client | Thruway\Peer\ClientInterface |
public createNewSession ( Thruway\Transport\TransportInterface $transport ) : |
||
$transport | Thruway\Transport\TransportInterface | |
return |
public getAuthenticationManager ( ) : Thruway\Authentication\AuthenticationManagerInterface | ||
return | Thruway\Authentication\AuthenticationManagerInterface |
public getEventDispatcher ( ) : |
||
return |
public getRealmManager ( ) : |
||
return |
public getSessionBySessionId ( integer $sessionId ) : |
||
$sessionId | integer | |
return |
public onClose ( Thruway\Transport\TransportInterface $transport ) | ||
$transport | Thruway\Transport\TransportInterface |
public setAuthenticationManager ( Thruway\Authentication\AuthenticationManagerInterface $authenticationManager ) | ||
$authenticationManager | Thruway\Authentication\AuthenticationManagerInterface |