Package common :: Module jingle_content :: Class JingleContent
[hide private]
[frames] | no frames]

Class JingleContent

source code


An abstraction of content in Jingle sessions
Instance Methods [hide private]
 
__init__(self, session, transport)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
is_ready(self) source code
 
on_negotiated(self) source code
 
add_remote_candidates(self, candidates)
Add a list of candidates to the list of remote candidates
source code
 
on_stanza(self, stanza, content, error, action)
Called when something related to our content was sent by peer
source code
 
__on_transport_info(self, stanza, content, error, action)
Got a new transport candidate
source code
 
__content(self, payload=[])
Build a XML content-wrapper for our data
source code
 
send_candidate(self, candidate)
Send a transport candidate for a previously defined transport.
source code
 
send_description_info(self) source code
 
__fill_jingle_stanza(self, stanza, content, error, action)
Add our things to session-initiate stanza
source code
 
destroy(self) source code

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, session, transport)
(Constructor)

source code 
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
Overrides: object.__init__
(inherited documentation)

is_ready(self)

source code 

on_negotiated(self)

source code 

add_remote_candidates(self, candidates)

source code 
Add a list of candidates to the list of remote candidates

on_stanza(self, stanza, content, error, action)

source code 
Called when something related to our content was sent by peer

__on_transport_info(self, stanza, content, error, action)

source code 
Got a new transport candidate

__content(self, payload=[])

source code 
Build a XML content-wrapper for our data

send_candidate(self, candidate)

source code 
Send a transport candidate for a previously defined transport.

send_description_info(self)

source code 

__fill_jingle_stanza(self, stanza, content, error, action)

source code 
Add our things to session-initiate stanza

destroy(self)

source code