Свойство | Тип | Описание | |
---|---|---|---|
$application | The application object | ||
$lastId | integer | The latest id available | |
$receiver | The receiver object |
Свойство | Тип | Описание | |
---|---|---|---|
$sendLaterMessagesBuffer | string | The buffer of messages to be sent |
Метод | Описание | |
---|---|---|
__construct ( |
The constructor | |
send ( MessageInterface $message ) : void | Send a message | |
tick ( ) : void | Check and send queued messages | |
waitReturn ( MessageInterface $message ) : mixed | Send a message and wait for the return |
Метод | Описание | |
---|---|---|
getLazarusJson ( MessageInterface $message ) : String | Get a valid Lazarus RPC JSON String | |
out ( String $text ) : void | Print debug information | |
processMessage ( MessageInterface $message ) : void | Process a message before sending - Useful to incrementing IDs | |
writeOnStream ( ) : void | Write on stdin stream |
public __construct ( |
||
$application | ||
$receiver | ||
Результат | void |
protected getLazarusJson ( MessageInterface $message ) : String | ||
$message | MessageInterface | Message to send |
Результат | String | Lazarus JSON string |
protected processMessage ( MessageInterface $message ) : void | ||
$message | MessageInterface | Message |
Результат | void |
public waitReturn ( MessageInterface $message ) : mixed | ||
$message | MessageInterface | |
Результат | mixed | The return of the message |
protected writeOnStream ( ) : void | ||
Результат | void |
public Application,Gui $application | ||
Результат |
public Receiver,Gui\Ipc $receiver | ||
Результат |
protected string $sendLaterMessagesBuffer | ||
Результат | string |