DBusTransportVTable Struct Reference

struct DBusTransportVTable

The virtual table that must be implemented to create a new kind of transport.

Member Data Documentation

dbus_bool_t(* connection_set

dbus_bool_t(*connection_set

Called when transport->connection has been filled in

void(* disconnect

void(*disconnect

Disconnect this transport.

void(* do_iteration

void(*do_iteration

Called to do a single "iteration" (block on select/poll followed by reading or writing data).

void(* finalize

void(*finalize

The finalize method must free the transport.

dbus_bool_t(* get_socket_fd

dbus_bool_t(*get_socket_fd

Get socket file descriptor

dbus_bool_t(* handle_watch

dbus_bool_t(*handle_watch

The handle_watch method handles reading/writing data as indicated by the flags.

void(* live_messages_changed

void(*live_messages_changed

Outstanding messages counter changed