Метод | Описание | |
---|---|---|
__construct ( string $realmName ) | Constructor | |
addModule ( Thruway\Module\RealmModuleInterface $module ) | ||
addSession ( |
||
getBroker ( ) : |
Get broker | |
getDealer ( ) : |
Get dealer | |
getRealmName ( ) : mixed | Get realm name | |
getSessions ( ) : SplObjectStorage | Get list session | |
getSubscribedRealmEvents ( ) : array | Events that we'll be listening on | |
handleAbortMessage ( |
||
handleAuthenticateMessage ( |
||
handleGoodbyeMessage ( |
||
handleLeaveRealm ( |
||
handleSendWelcomeMessage ( |
||
leave ( |
Process on session leave | |
managerGetSessions ( ) : array | Get list sessions | |
processGoodbye ( |
||
publishMeta ( string $topicName, mixed $arguments, mixed $argumentsKw = null, mixed $options = null ) | Publish meta |
Метод | Описание | |
---|---|---|
processAbort ( |
Process AbortMessage | |
processAuthenticate ( |
Process AuthenticateMessage | |
processSendWelcome ( |
Process HelloMessage |
public __construct ( string $realmName ) | ||
$realmName | string |
public addModule ( Thruway\Module\RealmModuleInterface $module ) | ||
$module | Thruway\Module\RealmModuleInterface |
public getSessions ( ) : SplObjectStorage | ||
Результат | SplObjectStorage |
public getSubscribedRealmEvents ( ) : array | ||
Результат | array |
public handleAbortMessage ( |
||
$event |
public handleAuthenticateMessage ( |
||
$event |
public handleGoodbyeMessage ( |
||
$event |
public handleLeaveRealm ( |
||
$event |
public handleSendWelcomeMessage ( |
||
$event |
public managerGetSessions ( ) : array | ||
Результат | array |
public processGoodbye ( |
||
$session | ||
$msg | Thruway\Message\Message |