Eventrouter Future

From Second Life Wiki
Revision as of 16:14, 11 September 2007 by Which Linden (talk | contribs) (Originally penned by donovan, I'm just copying this here.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

This is a notes page on a possible future direction for eventrouter.

  • public events are published at app/event/[0..]
  • private events are published at app/<cap>/event/[0..]
  • events are generated by callbacks triggered by a generic rest store
rest_root = {}
def root_changed_callback(router, change_description):
    router.broadcast('event', {})
app = Router()
real_root = {'store': rest_root, 'app': app}
  • js api for changing the server is REST only