![]() |
sysrepo
1.4.70
YANG datastore
|
Class for wrapping sr_subscription_ctx_t. More...
#include <Session.hpp>
Public Member Functions | |
| Subscribe (S_Session sess) | |
| void | module_change_subscribe (const char *module_name, S_Callback callback, const char *xpath=nullptr, void *private_data=nullptr, uint32_t priority=0, sr_subscr_options_t opts=SUBSCR_DEFAULT) |
| void | rpc_subscribe (const char *xpath, S_Callback callback, void *private_data=nullptr, uint32_t priority=0, sr_subscr_options_t opts=SUBSCR_DEFAULT) |
| void | rpc_subscribe_tree (const char *xpath, S_Callback callback, void *private_data=nullptr, uint32_t priority=0, sr_subscr_options_t opts=SUBSCR_DEFAULT) |
| void | event_notif_subscribe (const char *module_name, S_Callback callback, const char *xpath=nullptr, time_t start_time=0, time_t stop_time=0, void *private_data=nullptr, sr_subscr_options_t opts=SUBSCR_DEFAULT) |
| void | event_notif_subscribe_tree (const char *module_name, S_Callback callback, const char *xpath=nullptr, time_t start_time=0, time_t stop_time=0, void *private_data=nullptr, sr_subscr_options_t opts=SUBSCR_DEFAULT) |
| void | oper_get_items_subscribe (const char *module_name, const char *path, S_Callback callback, void *private_data=nullptr, sr_subscr_options_t opts=SUBSCR_DEFAULT) |
| int | get_event_pipe () |
| time_t | process_events (S_Session sess=nullptr) |
| void | unsubscribe () |
| ~Subscribe () | |
| sr_subscription_ctx_t ** | swig_sub () |
| sr_session_ctx_t * | swig_sess () |
| void | additional_cleanup (void *private_data) |
Data Fields | |
| std::vector< S_Callback > | cb_list |
| std::vector< void * > | wrap_cb_l |
Class for wrapping sr_subscription_ctx_t.
Definition at line 189 of file Session.hpp.
Wrapper for sr_subscription_ctx_t
| ~Subscribe | ( | ) |
| void module_change_subscribe | ( | const char * | module_name, |
| S_Callback | callback, | ||
| const char * | xpath = nullptr, |
||
| void * | private_data = nullptr, |
||
| uint32_t | priority = 0, |
||
| sr_subscr_options_t | opts = SUBSCR_DEFAULT |
||
| ) |
Wrapper for sr_module_change_subscribe
| void rpc_subscribe | ( | const char * | xpath, |
| S_Callback | callback, | ||
| void * | private_data = nullptr, |
||
| uint32_t | priority = 0, |
||
| sr_subscr_options_t | opts = SUBSCR_DEFAULT |
||
| ) |
Wrapper for sr_rpc_subscribe
| void rpc_subscribe_tree | ( | const char * | xpath, |
| S_Callback | callback, | ||
| void * | private_data = nullptr, |
||
| uint32_t | priority = 0, |
||
| sr_subscr_options_t | opts = SUBSCR_DEFAULT |
||
| ) |
Wrapper for sr_rpc_subscribe_tree
| void event_notif_subscribe | ( | const char * | module_name, |
| S_Callback | callback, | ||
| const char * | xpath = nullptr, |
||
| time_t | start_time = 0, |
||
| time_t | stop_time = 0, |
||
| void * | private_data = nullptr, |
||
| sr_subscr_options_t | opts = SUBSCR_DEFAULT |
||
| ) |
Wrapper for sr_event_notif_subscribe
| void event_notif_subscribe_tree | ( | const char * | module_name, |
| S_Callback | callback, | ||
| const char * | xpath = nullptr, |
||
| time_t | start_time = 0, |
||
| time_t | stop_time = 0, |
||
| void * | private_data = nullptr, |
||
| sr_subscr_options_t | opts = SUBSCR_DEFAULT |
||
| ) |
Wrapper for sr_event_notif_subscribe_tree
| void oper_get_items_subscribe | ( | const char * | module_name, |
| const char * | path, | ||
| S_Callback | callback, | ||
| void * | private_data = nullptr, |
||
| sr_subscr_options_t | opts = SUBSCR_DEFAULT |
||
| ) |
Wrapper for sr_oper_get_items_subscribe
| int get_event_pipe | ( | ) |
Wrapper for sr_get_event_pipe
| time_t process_events | ( | S_Session | sess = nullptr | ) |
Wrapper for sr_process_event
| void unsubscribe | ( | ) |
Wrapper for sr_unsubscribe
|
inline |
SWIG specific, internal use only.
Definition at line 225 of file Session.hpp.
|
inline |
SWIG specific, internal use only.
Definition at line 227 of file Session.hpp.
|
inline |
SWIG specific, internal use only.
Definition at line 231 of file Session.hpp.
| std::vector<S_Callback > cb_list |
Definition at line 214 of file Session.hpp.
| std::vector<void*> wrap_cb_l |
SWIG specific, internal use only.
Definition at line 229 of file Session.hpp.