McdDispatcher

## McdDispatcher McdDispatcher — Dispatcher class to dispatch channels to handlers |

## Stability Level

Unstable, unless otherwise indicated

## Synopsis

    #include <mcd-dispatcher.h>

                        McdDispatcher;
                        McdDispatcherStatus;
    McdDispatcher*      mcd_dispatcher_new                  (DBusGConnection *dbus_connection,
                                                             McdMaster *master);
    gboolean            mcd_dispatcher_send                 (McdDispatcher *dispatcher,
                                                             McdChannel *channel);
    McdDispatcherStatus mcd_dispatcher_get_status           (McdDispatcher *dispatcher,
                                                             McdChannel *channel);
    gint                mcd_dispatcher_get_channel_type_usage
                                                            (McdDispatcher *dispatcher,
                                                             GQuark chan_type_quark);
    GPtrArray*          mcd_dispatcher_get_channel_capabilities
                                                            (McdDispatcher *dispatcher,
                                                             const gchar *protocol);

## Description

FIXME

## Details

### McdDispatcher

    typedef struct {
        McdMission parent;
    } McdDispatcher;

### McdDispatcherStatus

    typedef struct _McdDispatcherStatus McdDispatcherStatus;

### mcd_dispatcher_new ()

    McdDispatcher*      mcd_dispatcher_new                  (DBusGConnection *dbus_connection,
                                                             McdMaster *master);

`dbus_connection` : |
`master` : |
Returns : |

### mcd_dispatcher_send ()

    gboolean            mcd_dispatcher_send                 (McdDispatcher *dispatcher,
                                                             McdChannel *channel);

`dispatcher` : |
`channel` : |
Returns : |

### mcd_dispatcher_get_status ()

    McdDispatcherStatus mcd_dispatcher_get_status           (McdDispatcher *dispatcher,
                                                             McdChannel *channel);

`dispatcher` : |
`channel` : |
Returns : |

### mcd_dispatcher_get_channel_type_usage ()

    gint                mcd_dispatcher_get_channel_type_usage
                                                            (McdDispatcher *dispatcher,
                                                             GQuark chan_type_quark);

`dispatcher` : |
`chan_type_quark` : |
Returns : |

### mcd_dispatcher_get_channel_capabilities ()

    GPtrArray*          mcd_dispatcher_get_channel_capabilities
                                                            (McdDispatcher *dispatcher,
                                                             const gchar *protocol);

`dispatcher` : |
`protocol` : |
Returns : |