Interface: SessionEvents
Defined in: netconf/src/messages/session.ts:148
The events a Session emits, by name, with each one's payload. Listen with session.on(name, listener). See Events.
Extends
Record<string,unknown>
Indexable
[key: string]: unknownProperties
closed
closed: object;Defined in: netconf/src/messages/session.ts:155
The session is closed. Emitted exactly once. cause is set if it closed because something failed.
cause?
readonly cause?: NetconfError;Why the session closed, if it closed because something failed.
closing
closing: object;Defined in: netconf/src/messages/session.ts:150
close() was called; <close-session> is being sent.
reason
readonly reason: "user";Always 'user': close() was called.
message
message: SessionMessage;Defined in: netconf/src/messages/session.ts:164
A NETCONF message was sent or received. xml has been through the session's redact.
notification
notification: Notification;Defined in: netconf/src/messages/session.ts:160
A <notification> arrived from the server.
warning
warning: SessionWarning;Defined in: netconf/src/messages/session.ts:162
Something odd that didn't stop the session: an rpc-error warning, an unmatched reply, a stray message.