Removed experimental ready instruction

This commit is contained in:
Michael Jumper 2011-01-21 20:00:14 -08:00
parent 84d79fc2ba
commit f60824686f
3 changed files with 1 additions and 24 deletions

View File

@ -123,20 +123,6 @@ void guac_send_name(GUACIO* io, const char* name);
*/
void guac_send_error(GUACIO* io, const char* error);
/**
* Sends a ready instruction over the given GUACIO connection. The
* ready instruction merely signals the client that its ready
* instruction has been handled. The ready exchange is intended to
* synchronize instruction handling (if needed) and serve as a health
* indicator for both client and server.
*
* Normally, this functino should not be called by client plugins, as
* the ready instruction will be handled automatically.
*
* @param io The GUACIO connection to use.
*/
void guac_send_ready(GUACIO* io);
/**
* Sends a clipboard instruction over the given GUACIO connection. The
* clipboard data given will be automatically escaped for transmission.

View File

@ -259,12 +259,7 @@ void guac_start_client(guac_client* client) {
do {
if (strcmp(instruction.opcode, "ready") == 0) {
guac_send_ready(io);
guac_flush(io);
}
else if (strcmp(instruction.opcode, "mouse") == 0) {
if (strcmp(instruction.opcode, "mouse") == 0) {
if (client->mouse_handler)
if (
client->mouse_handler(

View File

@ -175,10 +175,6 @@ void guac_send_size(GUACIO* io, int w, int h) {
guac_write_string(io, ";");
}
void guac_send_ready(GUACIO* io) {
guac_write_string(io, "ready;");
}
void guac_send_clipboard(GUACIO* io, const char* data) {
char* escaped = guac_escape_string(data);