The Sequence Toolkit
www.sequence-toolkit.com
Main Page
Classes
Files
File List
File Members
All
Classes
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
include
stk_smartbeat_api.h
Go to the documentation of this file.
1
6
#ifndef STK_SMARTBEAT_API_H
7
#define STK_SMARTBEAT_API_H
8
#include "
stk_smartbeat.h
"
9
#include "
stk_service.h
"
10
#include "
stk_name_service.h
"
11
#include "
stk_env.h
"
12
19
stk_smartbeat_ctrl_t
*
stk_create_smartbeat_ctrl
(
stk_env_t
*env);
20
26
stk_ret
stk_destroy_smartbeat_ctrl
(
stk_smartbeat_ctrl_t
*smb);
27
33
stk_ret
stk_smartbeat_update_current_time
(
stk_smartbeat_t
*smb);
34
39
int
stk_min_smartbeat_interval
(
stk_smartbeat_ctrl_t
*smb);
40
47
stk_ret
stk_smartbeat_add_service
(
stk_smartbeat_ctrl_t
*smb,
stk_service_t
*svc);
48
55
stk_ret
stk_smartbeat_remove_service
(
stk_smartbeat_ctrl_t
*smb,
stk_service_t
*svc);
56
63
stk_ret
stk_smartbeat_add_name_service
(
stk_smartbeat_ctrl_t
*smb,
stk_name_service_t
*svc);
64
71
stk_ret
stk_smartbeat_remove_name_service
(
stk_smartbeat_ctrl_t
*smb,
stk_name_service_t
*svc);
72
80
stk_bool
stk_has_smartbeat_timed_out
(
stk_smartbeat_t
*sb,
stk_smartbeat_t
*curr_time,
stk_uint32
ivl);
81
#endif
Sequence Toolkit
API, Wed Apr 15 2015 22:32:53