| Wocky Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | ||||
struct WockyJingleFactoryClass; WockyJingleFactory * wocky_jingle_factory_new (WockySession *session); void wocky_jingle_factory_stop (WockyJingleFactory *self); void wocky_jingle_factory_register_content_type (WockyJingleFactory *self,gchar *xmlns,GType content_type); GType wocky_jingle_factory_lookup_content_type (WockyJingleFactory *self,const gchar *xmlns); void wocky_jingle_factory_register_transport (WockyJingleFactory *self,gchar *xmlns,GType transport_type); GType wocky_jingle_factory_lookup_transport (WockyJingleFactory *self,const gchar *xmlns); WockyJingleSession * wocky_jingle_factory_create_session (WockyJingleFactory *fac,const gchar *jid,WockyJingleDialect dialect,gboolean local_hold); WockyJingleInfo * wocky_jingle_factory_get_jingle_info (WockyJingleFactory *fac);
void wocky_jingle_factory_register_content_type (WockyJingleFactory *self,gchar *xmlns,GType content_type);
GType wocky_jingle_factory_lookup_content_type (WockyJingleFactory *self,const gchar *xmlns);
void wocky_jingle_factory_register_transport (WockyJingleFactory *self,gchar *xmlns,GType transport_type);
GType wocky_jingle_factory_lookup_transport (WockyJingleFactory *self,const gchar *xmlns);
WockyJingleSession * wocky_jingle_factory_create_session (WockyJingleFactory *fac,const gchar *jid,WockyJingleDialect dialect,gboolean local_hold);
Creates a new WockyJingleSession to the specified contact. Note that the
session will not be initiated until at least one content is added with
wocky_jingle_session_add_content(), and those contents are ready.
You would typically determine which dialect to use from the peer's
capabilities.
WockyJingleInfo * wocky_jingle_factory_get_jingle_info
(WockyJingleFactory *fac);