libguac
1.0.0
|
Represents a single object within the Guacamole protocol. More...
Data Fields | |
int | index |
The index of this object. | |
void * | data |
Arbitrary data associated with this object. | |
guac_user_get_handler * | get_handler |
Handler for get events sent by the Guacamole web-client. More... | |
guac_user_put_handler * | put_handler |
Handler for put events sent by the Guacamole web-client. More... | |
Represents a single object within the Guacamole protocol.
guac_user_get_handler* guac_object::get_handler |
Handler for get events sent by the Guacamole web-client.
The handler takes a guac_object, containing the object index which will persist through the duration of the transfer, and the name of the stream being requested. It is up to the get handler to create the required body stream.
Example:
guac_user_put_handler* guac_object::put_handler |
Handler for put events sent by the Guacamole web-client.
The handler takes a guac_object and guac_stream, which each contain their respective indices which will persist through the duration of the transfer, the mimetype of the data being transferred, and the name of the stream within the object being written to.
Example: