libguac  0.9.12-incubating
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_flush_handlerflush_handler
 Handler which will be called whenever this socket needs to be flushed.
 
guac_socket_lock_handlerlock_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_handlerunlock_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_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.


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