Skip to content

Interface: ChannelHandler ​

Defined in: netconf/src/transport/channel.ts:21

What the channel calls back into. Called synchronously, in order.

Methods ​

end() ​

ts
end(reason): void;

Defined in: netconf/src/transport/channel.ts:28

The channel can no longer deliver messages: the connection failed or closed, or the framing broke. Called at most once, and never after destroy().

Parameters ​

reason ​

NetconfError

Returns ​

void


message() ​

ts
message(text): void;

Defined in: netconf/src/transport/channel.ts:23

A whole message. If this throws, the channel ends with the error.

Parameters ​

text ​

string

Returns ​

void

Released under the MIT Licence.