GanTransporter

GanTransporter —

Synopsis




            GanTransporterPrivate;
void        (*GanTransporterConnectivityFunc)
                                            (GanTransporter *tpr,
                                             GanNode *node);
void        (*GanTransporterMessageFunc)    (GanTransporter *tpr,
                                             GanMessage *msg);
            GanTransporter;
GanTransporter* gan_transporter_new         (const gchar *application,
                                             GError **error);
void        gan_transporter_unref           (GanTransporter *tpr);
void        gan_transporter_add_transport   (GanTransporter *tpr,
                                             GanTransport *transport);
gboolean    gan_transporter_send_message    (GanTransporter *tpr,
                                             GList *dests,
                                             const gchar *label,
                                             GObject *payload,
                                             GError **error);

Description

Details

GanTransporterPrivate

typedef struct _GanTransporterPrivate GanTransporterPrivate;


GanTransporterConnectivityFunc ()

void        (*GanTransporterConnectivityFunc)
                                            (GanTransporter *tpr,
                                             GanNode *node);

tpr :
node :

GanTransporterMessageFunc ()

void        (*GanTransporterMessageFunc)    (GanTransporter *tpr,
                                             GanMessage *msg);

tpr :
msg :

GanTransporter

typedef struct {
  GObject parent;
  GanTransporterPrivate * priv;
} GanTransporter;


gan_transporter_new ()

GanTransporter* gan_transporter_new         (const gchar *application,
                                             GError **error);

application :
error :
Returns :

gan_transporter_unref ()

void        gan_transporter_unref           (GanTransporter *tpr);

tpr :

gan_transporter_add_transport ()

void        gan_transporter_add_transport   (GanTransporter *tpr,
                                             GanTransport *transport);

tpr :
transport :

gan_transporter_send_message ()

gboolean    gan_transporter_send_message    (GanTransporter *tpr,
                                             GList *dests,
                                             const gchar *label,
                                             GObject *payload,
                                             GError **error);

tpr :
dests :
label :
payload :
error :
Returns :