| | |
| | | net_mod_recv_msg_t ** recv_arr, int *recv_arr_size) ; |
| | | |
| | | |
| | | /** |
| | | * 启动bus |
| | | * |
| | | * @return 0 成功, 其他值 失败的错误码 |
| | | */ |
| | | int net_mod_socket_start_bus(void * _socket); |
| | | |
| | | |
| | | /** |
| | | * 向node_arr 中的所有网络节点发布消息 |
| | |
| | | * @size 主题长度 |
| | | * @key 总线端口 |
| | | */ |
| | | int net_mod_socket_sub(void * _socket, void *topic, int size, int key); |
| | | int net_mod_socket_sub(void * _socket, void *topic, int size); |
| | | // 超时返回。 @sec 秒 , @nsec 纳秒 |
| | | int net_mod_socket_sub_timeout(void * _socket, void *topic, int size, int key, int sec, int nsec); |
| | | int net_mod_socket_sub_nowait(void * _socket, void *topic, int size, int key); |
| | | int net_mod_socket_sub_timeout(void * _socket, void *topic, int size, int sec, int nsec); |
| | | int net_mod_socket_sub_nowait(void * _socket, void *topic, int size); |
| | | |
| | | |
| | | /** |
| | |
| | | * @size 主题长度 |
| | | * @key 总线端口 |
| | | */ |
| | | int net_mod_socket_desub(void * _socket, void *topic, int size, int key); |
| | | int net_mod_socket_desub(void * _socket, void *topic, int size); |
| | | // 超时返回。 @sec 秒 , @nsec 纳秒 |
| | | int net_mod_socket_desub_timeout(void * _socket, void *topic, int size, int key, int sec, int nsec); |
| | | int net_mod_socket_desub_nowait(void * _socket, void *topic, int size, int key); |
| | | int net_mod_socket_desub_timeout(void * _socket, void *topic, int size, int sec, int nsec); |
| | | int net_mod_socket_desub_nowait(void * _socket, void *topic, int size); |
| | | |
| | | |
| | | /** |