Package papyon :: Package event :: Module mailbox :: Class MailboxEventInterface

Class MailboxEventInterface

source code

        object --+    
                 |    
BaseEventInterface --+
                     |
                    MailboxEventInterface

interfaces allowing the user to get notified about events from the Inbox.

Instance Methods
 
__init__(self, client)
Initializer
source code
 
on_mailbox_unread_mail_count_changed(self, unread_mail_count, initial=False)
The number of unread mail messages
source code
 
on_mailbox_new_mail_received(self, mail_message)
New mail message notification
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 - the client we want to be notified for its events
Overrides: object.__init__
(inherited documentation)