Session¶
- 
class ydk::path::Session¶
- Abstract session base class. - 
virtual RootSchemaNode &get_root_schema() const¶
- Returns the - RootSchemaNodetree supported by this instance of the- Session.- Returns: - Reference to the - RootSchemaNodeor- nullptrif one could not be created.
 - 
virtual std::shared_ptr<path::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.
 - 
virtual ~Session()¶
 
- 
virtual RootSchemaNode &