def __init__(self, opts):
     """constructor provides access to the configuration options"""
     super(PPTRIncidentPolling, self).__init__(opts)
     self.options = opts.get("fn_proofpoint_trap", {})
     validate_opts(self)
     self.stop_thread = False
     self.threads = []
     self.main()
Ejemplo n.º 2
0
 def _reload(self, event, opts):
     """Configuration options have changed, save new values"""
     self.options = opts.get("fn_proofpoint_trap", {})
     validate_opts(self)
Ejemplo n.º 3
0
 def __init__(self, opts):
     """constructor provides access to the configuration options"""
     super(FunctionComponent, self).__init__(opts)
     self.options = opts.get("fn_proofpoint_trap", {})
     validate_opts(self)