Свойство | Type | Description | |
---|---|---|---|
$socketPath | string | Path to socket folder. |
Méthode | Description | |
---|---|---|
processMessage ( array $data, |
Parses a received message. Redirects to the appropriate command* method. | |
setSocketPath ( string $socketPath ) |
Méthode | Description | |
---|---|---|
bindProcessMessage ( |
Binds data-listener to $conn and waits for incoming commands. | |
getNewControllerHost ( boolean $removeOld = true ) : string | ||
getNewSlaveSocket ( integer $port ) : string | ||
getSockFile ( string $affix, boolean $removeOld ) : string | ||
sendMessage ( |
Sends a message through $conn. |
protected bindProcessMessage ( |
||
$conn |
protected getNewControllerHost ( boolean $removeOld = true ) : string | ||
$removeOld | boolean | |
Résultat | string |
protected getNewSlaveSocket ( integer $port ) : string | ||
$port | integer | |
Résultat | string |
public processMessage ( array $data, |
||
$data | array | |
$conn |
protected sendMessage ( |
||
$conn | ||
$command | string | |
$message | array |
protected string $socketPath | ||
Résultat | string |