Package bscw :: Package api :: Module ap_serv_notify
[hide private]

Module ap_serv_notify

Database Event Scheduler (remote service) API

Notifies (registered) service about (subscribed) event(s) returns success

API definition:

API = (('events', 'array', 1, [('event', 'struct', 1, [('id', 'int', 0),
       ('name', 'ASCII string', 1),
       ('time', 'double', 1),
       ('who', 'int', 0),
       ('roles', 'array', 0, [('role', 'struct', 1, [('id', 'int', 1),
       ('role', 'ASCII string', 1),
       ('type', 'ASCII string', 0),
       ('wshome', 'int', 0)])]),
       ('extras', 'array', 0, [('extra', 'struct', 1, [('role', 'ASCII string', 1),
       ('objrs', 'array', 1, [('objr', 'struct', 1, [('id', 'int', 1),
       ('repr', 'ASCII string', 1)])])])])])]),)

(c) OrbiTeam Software, 2003-2010, www.bscw.de/copyright.html


Version: $Rev: 20127 $

Functions [hide private]
 
param_def()
return the parameter definition
 
do_it(request, events)
see above
 
serv_notify(events)
Variables [hide private]
  log_dbs = logging.getLogger('dbs')
  __package__ = 'bscw.api'