Package common :: Module connection_handlers :: Class ConnectionHandlers
[hide private]
[frames] | no frames]

Class ConnectionHandlers

source code


Instance Methods [hide private]
 
__init__(self)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
build_http_auth_answer(self, iq_obj, answer) source code
 
_nec_http_auth_received(self, obj) source code
 
_HttpAuthCB(self, con, iq_obj) source code
 
_ErrorCB(self, con, iq_obj) source code
 
_PrivateCB(self, con, iq_obj)
Private Data (XEP 048 and 049)
source code
 
_SecLabelCB(self, con, iq_obj)
Security Label callback, used for catalogues.
source code
 
seclabel_catalogue_request(self, to, callback) source code
 
_parse_bookmarks(self, storage, storage_type)
storage_type can be 'pubsub' or 'xml' to tell from where we got bookmarks
source code
 
_rosterSetCB(self, con, iq_obj) source code
 
_VersionCB(self, con, iq_obj) source code
 
_LastCB(self, con, iq_obj) source code
 
_VersionResultCB(self, con, iq_obj) source code
 
_TimeCB(self, con, iq_obj) source code
 
_TimeRevisedCB(self, con, iq_obj) source code
 
_TimeRevisedResultCB(self, con, iq_obj) source code
 
_gMailNewMailCB(self, con, gm)
Called when we get notified of new mail messages in gmail account
source code
 
_gMailQueryCB(self, con, iq_obj)
Called when we receive results from Querying the server for mail messages in gmail account
source code
 
_rosterItemExchangeCB(self, con, msg)
XEP-0144 Roster Item Echange
source code
 
_messageCB(self, con, msg)
Called when we receive a message
source code
 
_on_message_decrypted(self, output, mtype, msg, session, frm, jid, invite, tim) source code
 
dispatch_error_message(self, msg, msgtxt, session, frm, tim) source code
 
_on_bob_received(self, conn, result, cid)
Called when we receive BoB data
source code
 
get_bob_data(self, cid, to, callback, args, position)
Request for BoB (XEP-0231) and when data will arrive, call callback with given args, after having replaced cid by it's data in args[position]
source code
 
dispatch_gc_message(self, msg, frm, msgtxt, jid, tim) source code
 
dispatch_invite_message(self, invite, frm) source code
 
_presenceCB(self, con, prs)
Called when we receive a presence
source code
 
_StanzaArrivedCB(self, con, obj) source code
 
_MucOwnerCB(self, con, iq_obj) source code
 
_MucAdminCB(self, con, iq_obj) source code
 
_MucErrorCB(self, con, iq_obj) source code
 
_IqPingCB(self, con, iq_obj) source code
 
_PrivacySetCB(self, con, iq_obj)
Privacy lists (XEP 016)
source code
 
_getRoster(self) source code
 
discover_ft_proxies(self) source code
 
_on_roster_set(self, roster) source code
 
_send_first_presence(self, signed='') source code
 
request_gmail_notifications(self) source code
 
_search_fields_received(self, con, iq_obj) source code
 
_StreamCB(self, con, obj) source code
 
_register_handlers(self, con, con_type) source code

Inherited from ConnectionVcard: add_sha, get_cached_vcard, request_vcard, send_vcard

Inherited from protocol.bytestream.ConnectionSocks5Bytestream: disconnect_transfer, remove_all_transfers, remove_transfer, send_success_connect_reply, stop_all_active_file_transfers

Inherited from protocol.bytestream.ConnectionBytestream: send_file_approval, send_file_rejection, send_file_request

Inherited from ConnectionDisco: discoverInfo, discoverItems, register_agent, request_register_agent_info

Inherited from commands.ConnectionCommands: commandInfoQuery, commandItemsQuery, commandListQuery, getOurBareJID, isSameJID

Inherited from pubsub.ConnectionPubSub: request_pb_configuration, send_pb_configure, send_pb_create, send_pb_delete, send_pb_publish, send_pb_purge, send_pb_retract, send_pb_retrieve, send_pb_subscribe, send_pb_subscription_query, send_pb_unsubscribe

Inherited from pubsub.ConnectionPubSub (private): _PubSubCB, _PubSubErrorCB

Inherited from pep.ConnectionPEP: reset_awaiting_pep, retract_activity, retract_location, retract_mood, retract_nickname, retract_tune, send_activity, send_awaiting_pep, send_location, send_mood, send_nickname, send_tune

Inherited from pep.ConnectionPEP (private): _pubsubEventCB

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

Inherited from ConnectionHandlersBase: delete_session, find_controlless_session, find_null_session, find_session, get_or_create_session, get_sessions, make_new_session, terminate_sessions

Inherited from ConnectionHandlersBase (private): _LastResultCB

Inherited from ConnectionJingle (private): _JingleCB

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self)
(Constructor)

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

build_http_auth_answer(self, iq_obj, answer)

source code 

_nec_http_auth_received(self, obj)

source code 

_HttpAuthCB(self, con, iq_obj)

source code 

_ErrorCB(self, con, iq_obj)

source code 
Overrides: ConnectionHandlersBase._ErrorCB

_PrivateCB(self, con, iq_obj)

source code 
Private Data (XEP 048 and 049)

_SecLabelCB(self, con, iq_obj)

source code 
Security Label callback, used for catalogues.

seclabel_catalogue_request(self, to, callback)

source code 

_parse_bookmarks(self, storage, storage_type)

source code 
storage_type can be 'pubsub' or 'xml' to tell from where we got bookmarks

_rosterSetCB(self, con, iq_obj)

source code 

_VersionCB(self, con, iq_obj)

source code 

_LastCB(self, con, iq_obj)

source code 

_VersionResultCB(self, con, iq_obj)

source code 

_TimeCB(self, con, iq_obj)

source code 

_TimeRevisedCB(self, con, iq_obj)

source code 

_TimeRevisedResultCB(self, con, iq_obj)

source code 

_gMailNewMailCB(self, con, gm)

source code 
Called when we get notified of new mail messages in gmail account

_gMailQueryCB(self, con, iq_obj)

source code 
Called when we receive results from Querying the server for mail messages in gmail account

_rosterItemExchangeCB(self, con, msg)

source code 
XEP-0144 Roster Item Echange

_messageCB(self, con, msg)

source code 
Called when we receive a message

_on_message_decrypted(self, output, mtype, msg, session, frm, jid, invite, tim)

source code 

dispatch_error_message(self, msg, msgtxt, session, frm, tim)

source code 

_on_bob_received(self, conn, result, cid)

source code 
Called when we receive BoB data

get_bob_data(self, cid, to, callback, args, position)

source code 
Request for BoB (XEP-0231) and when data will arrive, call callback with given args, after having replaced cid by it's data in args[position]

dispatch_gc_message(self, msg, frm, msgtxt, jid, tim)

source code 

dispatch_invite_message(self, invite, frm)

source code 

_presenceCB(self, con, prs)

source code 
Called when we receive a presence

_StanzaArrivedCB(self, con, obj)

source code 

_MucOwnerCB(self, con, iq_obj)

source code 

_MucAdminCB(self, con, iq_obj)

source code 

_MucErrorCB(self, con, iq_obj)

source code 

_IqPingCB(self, con, iq_obj)

source code 

_PrivacySetCB(self, con, iq_obj)

source code 

Privacy lists (XEP 016)

A list has been set.

_getRoster(self)

source code 

discover_ft_proxies(self)

source code 

_on_roster_set(self, roster)

source code 

_send_first_presence(self, signed='')

source code 

request_gmail_notifications(self)

source code 

_search_fields_received(self, con, iq_obj)

source code 

_StreamCB(self, con, obj)

source code 

_register_handlers(self, con, con_type)

source code