Package papyon :: Package event :: Module contact :: Class ContactEventInterface

Class ContactEventInterface

source code

        object --+    
                 |    
BaseEventInterface --+
                     |
                    ContactEventInterface

Interface allowing the user to get notified about the Contacts events

Instance Methods
 
__init__(self, client)
Initializer
source code
 
on_contact_memberships_changed(self, contact)
Called when the memberships of a contact changes.
source code
 
on_contact_presence_changed(self, contact)
Called when the presence of a contact changes.
source code
 
on_contact_display_name_changed(self, contact)
Called when the display name of a contact changes.
source code
 
on_contact_personal_message_changed(self, contact)
Called when the personal message of a contact changes.
source code
 
on_contact_current_media_changed(self, contact)
Called when the current media of a contact changes.
source code
 
on_contact_infos_changed(self, contact, infos)
Called when the infos of a contact changes.
source code
 
on_contact_client_capabilities_changed(self, contact)
Called when the client capabilities of a contact changes.
source code
 
on_contact_msn_object_changed(self, contact)
Called when the MSNObject of a contact changes.
source code

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

Properties

Inherited from object: __class__

Method Details

__init__(self, client)
(Constructor)

source code 

Initializer

Parameters:
  • client (Client) - the client we want to be notified for its events
Overrides: object.__init__

on_contact_memberships_changed(self, contact)

source code 

Called when the memberships of a contact changes.

Parameters:
  • contact (Contact) - the contact whose presence changed

See Also: Memberships

on_contact_presence_changed(self, contact)

source code 

Called when the presence of a contact changes.

Parameters:
  • contact (Contact) - the contact whose presence changed

on_contact_display_name_changed(self, contact)

source code 

Called when the display name of a contact changes.

Parameters:
  • contact (Contact) - the contact whose presence changed

on_contact_personal_message_changed(self, contact)

source code 

Called when the personal message of a contact changes.

Parameters:
  • contact (Contact) - the contact whose presence changed

on_contact_current_media_changed(self, contact)

source code 

Called when the current media of a contact changes.

Parameters:
  • contact (Contact) - the contact whose presence changed

on_contact_infos_changed(self, contact, infos)

source code 

Called when the infos of a contact changes.

Parameters:
  • contact (Contact) - the contact whose presence changed

on_contact_client_capabilities_changed(self, contact)

source code 

Called when the client capabilities of a contact changes.

Parameters:
  • contact (Contact) - the contact whose presence changed

on_contact_msn_object_changed(self, contact)

source code 

Called when the MSNObject of a contact changes.

Parameters:
  • contact (Contact) - the contact whose presence changed