Main Page | Modules | Data Structures | File List | Data Fields | Related Pages

DBusConnection Struct Reference
[DBusConnection implementation details]

Implementation details of DBusConnection. More...


Data Fields

DBusAtomic refcount
 Reference count.

DBusMutex * mutex
 Lock on the entire DBusConnection.

dbus_bool_t dispatch_acquired
 Protects dispatch().

DBusCondVar * dispatch_cond
 Protects dispatch().

dbus_bool_t io_path_acquired
 Protects transport io path.

DBusCondVar * io_path_cond
 Protects transport io path.

DBusListoutgoing_messages
 Queue of messages we need to send, send the end of the list first.

DBusListincoming_messages
 Queue of messages we have received, end of the list received most recently.

DBusMessagemessage_borrowed
 True if the first incoming message has been borrowed.

DBusCondVar * message_returned_cond
 Used with dbus_connection_borrow_message().

int n_outgoing
 Length of outgoing queue.

int n_incoming
 Length of incoming queue.

DBusCounteroutgoing_counter
 Counts size of outgoing messages.

DBusTransporttransport
 Object that sends/receives messages over network.

DBusWatchListwatches
 Stores active watches.

DBusTimeoutListtimeouts
 Stores active timeouts.

DBusListfilter_list
 List of filters.

DBusDataSlotList slot_list
 Data stored by allocated integer ID.

DBusHashTablepending_replies
 Hash of message serials to DBusPendingCall.

dbus_uint32_t client_serial
 Client serial.

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

DBusListlink_cache
 A cache of linked list links to prevent contention for the global linked list mempool lock.

DBusObjectTreeobjects
 Object path handlers registered with this connection.

unsigned int exit_on_disconnect: 1
 If TRUE, exit after handling disconnect signal.


Detailed Description

Implementation details of DBusConnection.

All fields are private.

Definition at line 161 of file dbus-connection.c.


Field Documentation

dbus_uint32_t DBusConnection::client_serial
 

Client serial.

Increments each time a message is sent

Definition at line 194 of file dbus-connection.c.

Referenced by _dbus_connection_new_for_transport().


The documentation for this struct was generated from the following file:
Generated on Sun Mar 21 03:52:06 2004 for D-BUS by doxygen 1.3.6-20040222