[Insert name here] Reference Manual | ||||
---|---|---|---|---|
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);
typedef struct { GObject parent; GanTransport *transport; GanAddress *address; } GanTransporterConnection;
GanTransporterConnection* gan_transporter_connection_new (GanTransport *trans, GanAddress *addr);
trans : |
|
addr : |
|
Returns : |
void gan_transporter_connection_unref (GanTransporterConnection *conn);
conn : |
void gan_transporter_connection_disconnect (GanTransporterConnection *conn);
conn : |
void gan_transporter_connection_close (GanTransporterConnection *conn);
conn : |
gboolean gan_transporter_connection_send_packet (GanTransporterConnection *conn, GObject *payload, GError **error);
conn : |
|
payload : |
|
error : |
|
Returns : |
gboolean gan_transporter_connection_send_node_connectivity (GanTransporterConnection *conn, GanNode *node, GanConnectivity connectivity, GError **error);
conn : |
|
node : |
|
connectivity : |
|
error : |
|
Returns : |