This symbol shall be used to install a listener for only monitoring 'error'
events. Listeners installed using this symbol are called before the regular
'error'
listeners are called.
Installing a listener using this symbol does not change the behavior once an
'error'
event is emitted, therefore the process will still crash if no
regular 'error'
listener is installed.
Create an open a socket, if necessary. Either way, return it.
Create an open a socket, if necessary. Either way, return it.
Continue sending if there are more packets, else stop.
Close the socket, if it's still open.
Handle send results. On errors, report them upstream. That could be ignored, result in our destruction and re-creation, or result in the process crashing. So, we keep sending anyway, as we're the only object with a reference to the unsent messages.
Queue another buffer to be sent.
Send a message to the rsyslogd. Pretends to be synchronous.
Send the next message.
Handle the socket's close
event'.
Propagate the socket's error
event.
Start sending.
Stop sending.
Generated using TypeDoc
A rsyslog client. Sends over UDP.