libguac  0.9.0
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
Data Fields
guac_socket Struct Reference

The core I/O object of Guacamole. More...

Data Fields

void * data
 Arbitrary socket-specific data.
guac_socket_read_handlerread_handler
 Handler which will be called when data needs to be read from the socket.
guac_socket_write_handlerwrite_handler
 Handler which will be called whenever data is written to this socket.
guac_socket_select_handlerselect_handler
 Handler which will be called whenever guac_socket_select is invoked on this socket.
guac_socket_free_handlerfree_handler
 Handler which will be called when the socket is free'd (closed).
guac_socket_state state
 The current state of this guac_socket.
guac_timestamp last_write_timestamp
 The timestamp associated with the time the last block of data was written to this guac_socket.

Detailed Description

The core I/O object of Guacamole.

guac_socket provides buffered input and output as well as convenience methods for efficiently writing base64 data.

Field Documentation

guac_socket_write_handler* guac_socket::write_handler

Handler which will be called whenever data is written to this socket.

Note that because guac_socket automatically buffers written data, this handler might only get called when the socket is flushed.


The documentation for this struct was generated from the following file: