GanTransporterConnection

GanTransporterConnection —

Synopsis




            GanTransporterConnection;
GanTransporterConnection* gan_transporter_connection_new
                                            (GanTransport *trans,
                                             GanAddress *addr);
void        gan_transporter_connection_unref
                                            (GanTransporterConnection *conn);
void        gan_transporter_connection_disconnect
                                            (GanTransporterConnection *conn);
void        gan_transporter_connection_close
                                            (GanTransporterConnection *conn);
gboolean    gan_transporter_connection_send_packet
                                            (GanTransporterConnection *conn,
                                             GObject *payload,
                                             GError **error);
gboolean    gan_transporter_connection_send_node_connectivity
                                            (GanTransporterConnection *conn,
                                             GanNode *node,
                                             GanConnectivity connectivity,
                                             GError **error);

Description

Details

GanTransporterConnection

typedef struct {
  GObject parent;
  GanTransport *transport;
  GanAddress *address;
} GanTransporterConnection;


gan_transporter_connection_new ()

GanTransporterConnection* gan_transporter_connection_new
                                            (GanTransport *trans,
                                             GanAddress *addr);

trans :
addr :
Returns :

gan_transporter_connection_unref ()

void        gan_transporter_connection_unref
                                            (GanTransporterConnection *conn);

conn :

gan_transporter_connection_disconnect ()

void        gan_transporter_connection_disconnect
                                            (GanTransporterConnection *conn);

conn :

gan_transporter_connection_close ()

void        gan_transporter_connection_close
                                            (GanTransporterConnection *conn);

conn :

gan_transporter_connection_send_packet ()

gboolean    gan_transporter_connection_send_packet
                                            (GanTransporterConnection *conn,
                                             GObject *payload,
                                             GError **error);

conn :
payload :
error :
Returns :

gan_transporter_connection_send_node_connectivity ()

gboolean    gan_transporter_connection_send_node_connectivity
                                            (GanTransporterConnection *conn,
                                             GanNode *node,
                                             GanConnectivity connectivity,
                                             GError **error);

conn :
node :
connectivity :
error :
Returns :