TuoniListener¶
- class tuoni.TuoniListener(conf, c2)[source]¶
A class that provides data and functionality for a created listener.
- listener_id¶
The unique identifier of the listener.
- Type:
int
- name¶
The name of the listener.
- Type:
str
- info¶
Information about the listener.
- Type:
str
- status¶
The current status of the listener.
- Type:
str
- plugin¶
The plugin associated with the listener.
- Type:
str
- configuration¶
The configuration settings for the listener.
- Type:
dict
- update()[source]¶
Update listener on the server.
Sends the current
nameandconfiguration.configurationFilesis only sent when explicitly set on this object, because the server treats a present (even empty) list as “replace all” — andListenerResponsedoes not echo the field, so a naive round-trip would wipe server-side files.