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()
예제 #2
0
 def _reload(self, event, opts):
     """Configuration options have changed, save new values"""
     self.options = opts.get("fn_proofpoint_trap", {})
     validate_opts(self)
예제 #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)