WockyJingleTransportIface

## WockyJingleTransportIface WockyJingleTransportIface |

## Synopsis

    enum                WockyJingleTransportState;
    struct              WockyJingleTransportIfaceClass;
    void                wocky_jingle_transport_iface_parse_candidates
                                                            (WockyJingleTransportIface *Param1,
                                                             WockyNode *Param2,
                                                             GError **Param3);
    void                wocky_jingle_transport_iface_new_local_candidates
                                                            (WockyJingleTransportIface *self,
                                                             GList *candidates);
    void                wocky_jingle_transport_iface_inject_candidates
                                                            (WockyJingleTransportIface *self,
                                                             WockyNode *transport_node);
    void                wocky_jingle_transport_iface_send_candidates
                                                            (WockyJingleTransportIface *self,
                                                             gboolean all);
    gboolean            wocky_jingle_transport_iface_can_accept
                                                            (WockyJingleTransportIface *self);
    GList *             wocky_jingle_transport_iface_get_remote_candidates
                                                            (WockyJingleTransportIface *Param1);
    GList *             wocky_jingle_transport_iface_get_local_candidates
                                                            (WockyJingleTransportIface *Param1);
    WockyJingleTransportType wocky_jingle_transport_iface_get_transport_type
                                                            (WockyJingleTransportIface *Param1);
    gboolean            jingle_transport_get_credentials    (WockyJingleTransportIface *Param1,
                                                             gchar **ufrag,
                                                             gchar **pwd);
    WockyJingleTransportIface * wocky_jingle_transport_iface_new
                                                            (GType type,
                                                             WockyJingleContent *content,
                                                             const gchar *transport_ns);
    WockyJingleCandidate * wocky_jingle_candidate_new       (WockyJingleTransportProtocol protocol,
                                                             WockyJingleCandidateType type,
                                                             const gchar *id,
                                                             int component,
                                                             const gchar *address,
                                                             int port,
                                                             int generation,
                                                             int preference,
                                                             const gchar *username,
                                                             const gchar *password,
                                                             int network);
    void                wocky_jingle_candidate_free         (WockyJingleCandidate *c);
    void                jingle_transport_free_candidates    (GList *candidates);

## Description

## Details

### enum WockyJingleTransportState

    typedef enum {
      WOCKY_JINGLE_TRANSPORT_STATE_DISCONNECTED,
      WOCKY_JINGLE_TRANSPORT_STATE_CONNECTING,
      WOCKY_JINGLE_TRANSPORT_STATE_CONNECTED
    } WockyJingleTransportState;

`WOCKY_JINGLE_TRANSPORT_STATE_DISCONNECTED` |
`WOCKY_JINGLE_TRANSPORT_STATE_CONNECTING` |
`WOCKY_JINGLE_TRANSPORT_STATE_CONNECTED` |

### struct WockyJingleTransportIfaceClass

    struct WockyJingleTransportIfaceClass {
      GTypeInterface parent;

      void (*parse_candidates) (WockyJingleTransportIface *,
        WockyNode *, GError **);

      void (*new_local_candidates) (WockyJingleTransportIface *, GList *);
      void (*inject_candidates) (WockyJingleTransportIface *,
          WockyNode *transport_node);
      void (*send_candidates) (WockyJingleTransportIface *, gboolean all);
      gboolean (*can_accept) (WockyJingleTransportIface *);

      GList * (*get_remote_candidates) (WockyJingleTransportIface *);
      GList * (*get_local_candidates) (WockyJingleTransportIface *);
      gboolean (*get_credentials) (WockyJingleTransportIface *,
          gchar **ufrag, gchar **pwd);

      WockyJingleTransportType (*get_transport_type) (void);
    };

### wocky_jingle_transport_iface_parse_candidates ()

    void                wocky_jingle_transport_iface_parse_candidates
                                                            (WockyJingleTransportIface *Param1,
                                                             WockyNode *Param2,
                                                             GError **Param3);

### wocky_jingle_transport_iface_new_local_candidates ()

    void                wocky_jingle_transport_iface_new_local_candidates
                                                            (WockyJingleTransportIface *self,
                                                             GList *candidates);

### wocky_jingle_transport_iface_inject_candidates ()

    void                wocky_jingle_transport_iface_inject_candidates
                                                            (WockyJingleTransportIface *self,
                                                             WockyNode *transport_node);

### wocky_jingle_transport_iface_send_candidates ()

    void                wocky_jingle_transport_iface_send_candidates
                                                            (WockyJingleTransportIface *self,
                                                             gboolean all);

### wocky_jingle_transport_iface_can_accept ()

    gboolean            wocky_jingle_transport_iface_can_accept
                                                            (WockyJingleTransportIface *self);

### wocky_jingle_transport_iface_get_remote_candidates ()

    GList *             wocky_jingle_transport_iface_get_remote_candidates
                                                            (WockyJingleTransportIface *Param1);

### wocky_jingle_transport_iface_get_local_candidates ()

    GList *             wocky_jingle_transport_iface_get_local_candidates
                                                            (WockyJingleTransportIface *Param1);

### wocky_jingle_transport_iface_get_transport_type ()

    WockyJingleTransportType wocky_jingle_transport_iface_get_transport_type
                                                            (WockyJingleTransportIface *Param1);

### jingle_transport_get_credentials ()

    gboolean            jingle_transport_get_credentials    (WockyJingleTransportIface *Param1,
                                                             gchar **ufrag,
                                                             gchar **pwd);

### wocky_jingle_transport_iface_new ()

    WockyJingleTransportIface * wocky_jingle_transport_iface_new
                                                            (GType type,
                                                             WockyJingleContent *content,
                                                             const gchar *transport_ns);

### wocky_jingle_candidate_new ()

    WockyJingleCandidate * wocky_jingle_candidate_new       (WockyJingleTransportProtocol protocol,
                                                             WockyJingleCandidateType type,
                                                             const gchar *id,
                                                             int component,
                                                             const gchar *address,
                                                             int port,
                                                             int generation,
                                                             int preference,
                                                             const gchar *username,
                                                             const gchar *password,
                                                             int network);

### wocky_jingle_candidate_free ()

    void                wocky_jingle_candidate_free         (WockyJingleCandidate *c);

### jingle_transport_free_candidates ()

    void                jingle_transport_free_candidates    (GList *candidates);