Package Products :: Package Zuul :: Package routers :: Module messaging :: Class MessagingRouter
[hide private]
[frames] | no frames]

Class MessagingRouter

source code

ZenUtils.Ext.DirectRouter --+
                            |
                           MessagingRouter

A JSON/ExtDirect interface to operations on messages

Instance Methods [hide private]
 
setBrowserState(self, state)
Save the browser state for the current user.
source code
 
clearBrowserState(self, user=None)
Removes all the stored state associated with the current user
source code
dictionary
getUserMessages(self)
Get the queued messages for the logged in user.
source code
Method Details [hide private]

setBrowserState(self, state)

source code 

Save the browser state for the current user.

Parameters:
  • state (str) - The browser state as a JSON-encoded string
Decorators:
  • @transact

getUserMessages(self)

source code 

Get the queued messages for the logged in user.

Returns: dictionary
Properties:
  • messages: ([string]) A list of queued messages.