Skip to content

Interface: CallHomeEvents ​

Defined in: netconf/src/call-home.ts:160

The events a CallHomeListener emits. See Call home.

Extends ​

  • Record<string, unknown>

Indexable ​

ts
[key: string]: unknown

Properties ​

failed ​

ts
failed: object;

Defined in: netconf/src/call-home.ts:173

A call failed while being set up: handshake, authentication, hello or timeout.

caller? ​

ts
readonly caller?: CallHomeCaller;

Who called, when the handshake got far enough to show it.

error ​

ts
readonly error: NetconfError;

What went wrong.

remote ​

ts
readonly remote: CallHomeRemote;

Where the call came from.

transport ​

ts
readonly transport: CallHomeTransport;

The transport the call came in on.


rejected ​

ts
rejected: object;

Defined in: netconf/src/call-home.ts:162

A call was refused: unknown device, over a limit, or the listener closing.

caller? ​

ts
readonly caller?: CallHomeCaller;

Who called, when the handshake got far enough to show it.

reason ​

ts
readonly reason: string;

Why the call was refused.

remote ​

ts
readonly remote: CallHomeRemote;

Where the call came from.

transport ​

ts
readonly transport: CallHomeTransport;

The transport the call came in on.

Released under the MIT Licence.