Eventrouter Future

From Second Life Wiki
Revision as of 16:14, 11 September 2007 by Which Linden (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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