示例#1
0
 def unregister(self):
     """
     Notification that the consumer had been unregistered.
     The action is to clean up registration and bind artifacts.
     The consumer bundle is deleted.  Then, all handlers
     are requested to perform a clean().
     """
     bundle = ConsumerX509Bundle()
     bundle.delete()
     conduit = Conduit()
     dispatcher = Dispatcher()
     report = dispatcher.clean(conduit)
     return report.dict()
示例#2
0
 def unregister(self):
     """
     Notification that the consumer had been unregistered.
     The action is to clean up registration and bind artifacts.
     The consumer bundle is deleted.  Then, all handlers
     are requested to perform a clean().
     """
     bundle = ConsumerX509Bundle()
     bundle.delete()
     conduit = Conduit()
     dispatcher = Dispatcher()
     report = dispatcher.clean(conduit)
     return report.dict()