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. More... | |
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.
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.