libguac 1.5.5
|
Represents a single stream within the Guacamole protocol. More...
Data Fields | |
int | index |
The index of this stream. | |
void * | data |
Arbitrary data associated with this stream. | |
guac_user_ack_handler * | ack_handler |
Handler for ack events sent by the Guacamole web-client. | |
guac_user_blob_handler * | blob_handler |
Handler for blob events sent by the Guacamole web-client. | |
guac_user_end_handler * | end_handler |
Handler for stream end events sent by the Guacamole web-client. | |
Represents a single stream within the Guacamole protocol.
guac_user_ack_handler* guac_stream::ack_handler |
Handler for ack events sent by the Guacamole web-client.
The handler takes a guac_stream which contains the stream index and will persist through the duration of the transfer, a string containing the error or status message, and a status code.
Example:
guac_user_blob_handler* guac_stream::blob_handler |
Handler for blob events sent by the Guacamole web-client.
The handler takes a guac_stream which contains the stream index and will persist through the duration of the transfer, an arbitrary buffer containing the blob, and the length of the blob.
Example:
guac_user_end_handler* guac_stream::end_handler |
Handler for stream end events sent by the Guacamole web-client.
The handler takes only a guac_stream which contains the stream index. This guac_stream will be disposed of immediately after this event is finished.
Example: