class ResumeProcessor(juice.Command): """ Cause a particular reliable listener to begin receiving notifications again. """ commandName = 'Resume-Processor' arguments = [('storepath', juice.Path()), ('storeid', juice.Integer())]
class CallItemMethod(juice.Command): """ Invoke a particular method of a particular item. """ commandName = 'Call-Item-Method' arguments = [('storepath', juice.Path()), ('storeid', juice.Integer()), ('method', juice.String())]
class SuspendProcessor(juice.Command): """ Prevent a particular reliable listener from receiving any notifications until a L{ResumeProcessor} command is sent or the batch process is restarted. """ commandName = 'Suspend-Processor' arguments = [('storepath', juice.Path()), ('storeid', juice.Integer())]
class SetStore(juice.Command): """ Specify the location of the site store. """ commandName = 'Set-Store' arguments = [('storepath', juice.Path())]