pom-ng:lua
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| pom-ng:lua [2015/07/29 14:03] – Add event filters gmsoft | pom-ng:lua [2020/05/26 21:59] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 278: | Line 278: | ||
| Called when an instance of the output is started. This function must be implemented by addon. | Called when an instance of the output is started. This function must be implemented by addon. | ||
| - | === output: | + | === output: |
| Start listening to payloads. Every payload will be processed. It's up to the output to filter them. If you don't need a specific function, you can specify nil instead. | Start listening to payloads. Every payload will be processed. It's up to the output to filter them. If you don't need a specific function, you can specify nil instead. | ||
| Line 285: | Line 285: | ||
| * // | * // | ||
| * // | * // | ||
| + | * //filter//: Pload filter to use, optional. | ||
| == Parameters of the above functions: == | == Parameters of the above functions: == | ||
| Line 311: | Line 312: | ||
| == Returns: == | == Returns: == | ||
| Returns the event related to this payload. | Returns the event related to this payload. | ||
| + | |||
| + | === pload.filename === | ||
| + | |||
| + | == Returns: == | ||
| + | Returns the pload filename if it has been set, nil otherwise. | ||
| === pload.parent === | === pload.parent === | ||
pom-ng/lua.1438178589.txt.gz · Last modified: (external edit)
