The RemoteCmd JavaScript class. Send one sided commands to a remote host. More...
Public Slots | |
bool | connect (String &machine, int port) |
bool | connectTimeout (String &machine, int port, int timeout) |
bool | send (String &cmd) |
bool | receive (int timeout) |
bool | sendMsg (String &msg) |
bool | receiveMsg (int timeout) |
void | disconnect () |
bool | connected () |
String | lastReceived () |
Public Member Functions | |
RemoteCmd () | |
The RemoteCmd JavaScript class. Send one sided commands to a remote host.
RemoteCmd allows user to send one sided commands to a remote host.
RemoteCmd::RemoteCmd | ( | ) |
Create a new RemoteCmd remote command object.
|
slot |
Connect to a remote machine.
machine | String Machine name |
port | Port number |
|
slot |
Retrieve connection status
|
slot |
Connect to a remote machine.
machine | String Machine name |
port | Port number |
timeout | Timeout value |
|
slot |
Disconnect from remote machine.
|
slot |
Retrieve last received response from server.
|
slot |
Query response from server.
timeout | Time out value in milliseconds. -1 for infinity. |
|
slot |
Query a packaged response from server.
timeout | Time out value in milliseconds. -1 for infinity. |
|
slot |
Send a command to remote machine.
cmd | String command |
|
slot |
Send a packaged message to remote machine.
msg | String message |