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