RestconfSession¶
-
class
ydk::path::RestconfSession: public path::Session¶ Implementation of
Sessionfor the restconf protocol.-
path::RootSchemaNode &
get_root_schema() const¶ Returns the
RootSchemaNodetree supported by this instance of theRestconfSession.Returns: Reference to the RootSchemaNodeornullptrif one could not be created.
-
std::shared_ptr<DataNode>
invoke(path::Rpc &rpc) const¶ Invokes or executes the given rpc and returns a
DataNodepointer if the Rpc has an output modeled in YANG.Parameters: rpc – Reference to the Rpcnode.Returns: Pointer to the DataNoderepresenting the output.
-
~RestconfSession()¶
-
path::RootSchemaNode &