Skip to content

Interface: RpcReply ​

Defined in: netconf/src/messages/session.ts:104

A successful <rpc-reply>.

Properties ​

data ​

ts
readonly data: XmlElement | undefined;

Defined in: netconf/src/messages/session.ts:112

The <data> element, if the reply has one.


element ​

ts
readonly element: XmlElement;

Defined in: netconf/src/messages/session.ts:108

The whole <rpc-reply> element.


messageId ​

ts
readonly messageId: string;

Defined in: netconf/src/messages/session.ts:106

The message-id of the request this reply answers.


ok ​

ts
readonly ok: boolean;

Defined in: netconf/src/messages/session.ts:110

True if the reply is <ok/>.


output ​

ts
readonly output: readonly XmlElement[];

Defined in: netconf/src/messages/session.ts:119

The operation's output parameters: every child element of the reply except <ok> and <rpc-error>, in order (RFC 7950 §7.14.4, §7.15.3). An RPC's or action's output is read here; <get>'s is [<data>]. Empty for an <ok/> reply.


warnings ​

ts
readonly warnings: readonly RpcErrorDetail[];

Defined in: netconf/src/messages/session.ts:121

<rpc-error>s with severity warning. (Severity error rejects with RpcError instead.)

Released under the MIT Licence.