메소드 | 설명 | |
---|---|---|
__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 addModule ( Thruway\Module\RealmModuleInterface $module ) | ||
$module | Thruway\Module\RealmModuleInterface |
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 |