libguac
0.9.11-incubating
|
The core I/O object of Guacamole. More...
Data Fields | |
void * | data |
Arbitrary socket-specific data. | |
guac_socket_read_handler * | read_handler |
Handler which will be called when data needs to be read from the socket. | |
guac_socket_write_handler * | write_handler |
Handler which will be called whenever data is written to this socket. | |
guac_socket_flush_handler * | flush_handler |
Handler which will be called whenever this socket needs to be flushed. | |
guac_socket_lock_handler * | lock_handler |
Handler which will be called whenever a socket needs to be acquired for exclusive access, such as when an instruction is about to be written. | |
guac_socket_unlock_handler * | unlock_handler |
Handler which will be called whenever exclusive access to a socket is being released, such as when an instruction has finished being written. | |
guac_socket_select_handler * | select_handler |
Handler which will be called whenever guac_socket_select() is invoked on this socket. | |
guac_socket_free_handler * | free_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. | |
The core I/O object of Guacamole.
guac_socket provides buffered input and output as well as convenience methods for efficiently writing base64 data.