b-CAP server communication object. More...
Public Attributes | |
EVENT | comp_evt |
struct CONN_PARAM_COMMON | device |
EVENT | exec_evt |
uint32_t | exec_timeout |
uint32_t | last_modified |
struct BCAP_PACKET | last_recv |
struct BCAP_PACKET | last_send |
THREAD | main_thread |
struct CONN_BCAP_SERVER * | node1 |
struct CONN_BCAP_SERVER * | node2 |
int | num_child |
int | num_object |
struct CONN_BCAP_SERVER * | parent |
MUTEX * | relation_mutex |
struct VEC_OBJECT * | stack |
THREAD | sub_thread |
EVENT | term_main_evt |
EVENT | term_sub_evt |
uint32_t | wdt_interval |
b-CAP server communication object.
Definition at line 91 of file bcap_server.c.
EVENT CONN_BCAP_SERVER::comp_evt |
Event object for synchronize with recv_thread and exec_thread
Definition at line 104 of file bcap_server.c.
struct CONN_PARAM_COMMON CONN_BCAP_SERVER::device |
Common communication object
Definition at line 93 of file bcap_server.c.
EVENT CONN_BCAP_SERVER::exec_evt |
Event object for synchronize with recv_thread and exec_thread
Definition at line 103 of file bcap_server.c.
uint32_t CONN_BCAP_SERVER::exec_timeout |
executing timeout
Definition at line 96 of file bcap_server.c.
uint32_t CONN_BCAP_SERVER::last_modified |
Last modified time
Definition at line 98 of file bcap_server.c.
struct BCAP_PACKET CONN_BCAP_SERVER::last_recv |
The last received b-CAP packet
Definition at line 95 of file bcap_server.c.
struct BCAP_PACKET CONN_BCAP_SERVER::last_send |
The last send b-CAP packet
Definition at line 94 of file bcap_server.c.
THREAD CONN_BCAP_SERVER::main_thread |
Main thread object
Definition at line 99 of file bcap_server.c.
struct CONN_BCAP_SERVER* CONN_BCAP_SERVER::node1 |
If it is root node, then node1 means the head of children list, else the younger brother
Definition at line 110 of file bcap_server.c.
struct CONN_BCAP_SERVER* CONN_BCAP_SERVER::node2 |
If it is root node, then node2 means the head of delete list, else the elder brother
Definition at line 111 of file bcap_server.c.
int CONN_BCAP_SERVER::num_child |
The number of client connection (for TCP connection)
Definition at line 107 of file bcap_server.c.
int CONN_BCAP_SERVER::num_object |
The number of created object
Definition at line 105 of file bcap_server.c.
struct CONN_BCAP_SERVER* CONN_BCAP_SERVER::parent |
Parent node
Definition at line 109 of file bcap_server.c.
MUTEX* CONN_BCAP_SERVER::relation_mutex |
Mutex object for synchronize change_relation function
Definition at line 108 of file bcap_server.c.
struct VEC_OBJECT* CONN_BCAP_SERVER::stack |
The stack pointer for created objects
Definition at line 106 of file bcap_server.c.
THREAD CONN_BCAP_SERVER::sub_thread |
Sub thread object
Definition at line 100 of file bcap_server.c.
EVENT CONN_BCAP_SERVER::term_main_evt |
Event object for terminate main thread
Definition at line 101 of file bcap_server.c.
EVENT CONN_BCAP_SERVER::term_sub_evt |
Event object for terminate sub thread
Definition at line 102 of file bcap_server.c.
uint32_t CONN_BCAP_SERVER::wdt_interval |
watch dog timer interval
Definition at line 97 of file bcap_server.c.