WockyJingleFactory

WockyJingleFactory

Functions

Properties

WockySession * session Read / Write / Construct Only

Signals

Object Hierarchy

    GObject
    ╰── WockyJingleFactory

Description

Functions

wocky_jingle_factory_new ()

WockyJingleFactory *
wocky_jingle_factory_new (WockySession *session);

wocky_jingle_factory_stop ()

void
wocky_jingle_factory_stop (WockyJingleFactory *self);

wocky_jingle_factory_register_content_type ()

void
wocky_jingle_factory_register_content_type
                               (WockyJingleFactory *self,
                                gchar *xmlns,
                                GType content_type);

wocky_jingle_factory_lookup_content_type ()

GType
wocky_jingle_factory_lookup_content_type
                               (WockyJingleFactory *self,
                                const gchar *xmlns);

wocky_jingle_factory_register_transport ()

void
wocky_jingle_factory_register_transport
                               (WockyJingleFactory *self,
                                gchar *xmlns,
                                GType transport_type);

wocky_jingle_factory_lookup_transport ()

GType
wocky_jingle_factory_lookup_transport (WockyJingleFactory *self,
                                       const gchar *xmlns);

wocky_jingle_factory_create_session ()

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.

Parameters

fac

the factory

 

jid

the full JID (typically including a resource) to establish a session with

 

dialect

the variant of the Jingle protocol to use

 

local_hold

whether the call should start out on hold; if in doubt, pass FALSE

 

Returns

the new session, which will not be NULL.

[transfer none]


wocky_jingle_factory_get_jingle_info ()

WockyJingleInfo *
wocky_jingle_factory_get_jingle_info (WockyJingleFactory *fac);

Types and Values

Property Details

The “session” property

  “session”                  WockySession *

WockySession to listen for Jingle sessions on.

Flags: Read / Write / Construct Only

Signal Details

The “new-session” signal

void
user_function (WockyJingleFactory *wockyjinglefactory,
               WockyJingleSession *arg1,
               gboolean            arg2,
               gpointer            user_data)

Flags: Run Last


The “query-cap” signal

gboolean
user_function (WockyJingleFactory *wockyjinglefactory,
               WockyContact       *arg1,
               gchar              *arg2,
               gpointer            user_data)

Flags: Run Last