WvStreams
Classes | Defines | Typedefs | Functions
DBusMessageInternals

Classes

struct  DBusMessageLoader
 Implementation details of DBusMessageLoader. More...
struct  DBusMessage
 Internals of DBusMessage. More...

Defines

#define CHANGED_STAMP_BITS   21
 How many bits are in the changed_stamp used to validate iterators.

Typedefs

typedef
typedefDBUS_BEGIN_DECLS struct
DBusMessageLoader 
DBusMessageLoader
 The DBusMessageLoader object encapsulates the process of converting a byte stream into a series of DBusMessage.

Functions

dbus_bool_t _dbus_message_iter_get_args_valist (DBusMessageIter *iter, DBusError *error, int first_arg_type, va_list var_args)

Typedef Documentation

The DBusMessageLoader object encapsulates the process of converting a byte stream into a series of DBusMessage.

It buffers the incoming bytes as efficiently as possible, and generates a queue of messages. DBusMessageLoader is typically used as part of a DBusTransport implementation. The DBusTransport then hands off the loaded messages to a DBusConnection, making the messages visible to the application.

Todo:
write tests for break-loader that a) randomly delete header fields and b) set string fields to zero-length and other funky values.

Definition at line 32 of file dbus-message-internal.h.