Data Fields | |
DBusAtomic | refcount |
Reference count. | |
DBusMutex * | mutex |
Lock on the entire DBusConnection. | |
DBusMutex * | dispatch_mutex |
Protects dispatch_acquired. | |
DBusCondVar * | dispatch_cond |
Notify when dispatch_acquired is available. | |
DBusMutex * | io_path_mutex |
Protects io_path_acquired. | |
DBusCondVar * | io_path_cond |
Notify when io_path_acquired is available. | |
DBusList * | outgoing_messages |
Queue of messages we need to send, send the end of the list first. | |
DBusList * | incoming_messages |
Queue of messages we have received, end of the list received most recently. | |
DBusMessage * | message_borrowed |
Filled in if the first incoming message has been borrowed; dispatch_acquired will be set by the borrower. | |
int | n_outgoing |
Length of outgoing queue. | |
int | n_incoming |
Length of incoming queue. | |
DBusCounter * | outgoing_counter |
Counts size of outgoing messages. | |
DBusTransport * | transport |
Object that sends/receives messages over network. | |
DBusWatchList * | watches |
Stores active watches. | |
DBusTimeoutList * | timeouts |
Stores active timeouts. | |
DBusList * | filter_list |
List of filters. | |
DBusDataSlotList | slot_list |
Data stored by allocated integer ID. | |
DBusHashTable * | pending_replies |
Hash of message serials to DBusPendingCall. | |
dbus_uint32_t | client_serial |
Client serial. | |
DBusList * | disconnect_message_link |
Preallocated list node for queueing the disconnection message. | |
DBusWakeupMainFunction | wakeup_main_function |
Function to wake up the mainloop. | |
void * | wakeup_main_data |
Application data for wakeup_main_function. | |
DBusFreeFunction | free_wakeup_main_data |
free wakeup_main_data | |
DBusDispatchStatusFunction | dispatch_status_function |
Function on dispatch status changes. | |
void * | dispatch_status_data |
Application data for dispatch_status_function. | |
DBusFreeFunction | free_dispatch_status_data |
free dispatch_status_data | |
DBusDispatchStatus | last_dispatch_status |
The last dispatch status we reported to the application. | |
DBusList * | link_cache |
A cache of linked list links to prevent contention for the global linked list mempool lock. | |
DBusObjectTree * | objects |
Object path handlers registered with this connection. | |
unsigned int | dispatch_acquired: 1 |
Someone has dispatch path (can drain incoming queue). | |
unsigned int | io_path_acquired: 1 |
Someone has transport io path (can use the transport to read/write messages). | |
unsigned int | exit_on_disconnect: 1 |
If TRUE, exit after handling disconnect signal. | |
unsigned int | have_connection_lock: 1 |
Used to check locking. | |
int | generation |
_dbus_current_generation that should correspond to this connection |
All fields are private.
Definition at line 186 of file dbus-connection.c.
|
Client serial. Increments each time a message is sent Definition at line 219 of file dbus-connection.c. Referenced by _dbus_connection_new_for_transport(). |