Package Products :: Package ZenWidgets :: Module interfaces :: Class IMessageSender
[hide private]
[frames] | no frames]

Class IMessageSender

source code

zope.interface.Interface --+
                           |
                          IMessageSender

Something able to send messages.

Instance Methods [hide private]
 
sendToBrowser(title, body, priority, image=None, sticky=None)
Create a message and store it on the request object.
source code
 
sendToUser(title, body, priority, image=None, user=None)
Create a message and store it in the IMessageQueue of the user specified.
source code
 
sendToAll(title, body, priority, image=None)
For eash user in the system, create an identical message and store it in the user's IMessageQueue.
source code
Method Details [hide private]

sendToUser(title, body, priority, image=None, user=None)

source code 

Create a message and store it in the IMessageQueue of the user specified. If no user is specified, use the queue of the current user.