Struct of the custom server function callbacks. In order to implement the custom server, you must provide custom methods for each of the members of this struct. This is then passed to obx_custom_msg_server_register() to register the custom server. More...
#include <objectbox-sync.h>
Public Attributes | |
size_t | version |
Must be initialized with sizeof(OBX_custom_msg_server_functions) to "version" the struct. This allows the library (whi) to detect older or newer versions and react properly. | |
OBX_custom_msg_server_func_create * | func_create |
OBX_custom_msg_server_func_start * | func_start |
OBX_custom_msg_server_func_stop * | func_stop |
OBX_custom_msg_server_func_shutdown * | func_shutdown |
OBX_custom_msg_server_func_client_connection_send_async * | func_conn_send_async |
OBX_custom_msg_server_func_client_connection_close * | func_conn_close |
OBX_custom_msg_server_func_client_connection_shutdown * | func_conn_shutdown |
Struct of the custom server function callbacks. In order to implement the custom server, you must provide custom methods for each of the members of this struct. This is then passed to obx_custom_msg_server_register() to register the custom server.
OBX_custom_msg_server_func_client_connection_close* OBX_custom_msg_server_functions::func_conn_close |
OBX_custom_msg_server_func_client_connection_send_async* OBX_custom_msg_server_functions::func_conn_send_async |
OBX_custom_msg_server_func_client_connection_shutdown* OBX_custom_msg_server_functions::func_conn_shutdown |
OBX_custom_msg_server_func_create* OBX_custom_msg_server_functions::func_create |
OBX_custom_msg_server_func_shutdown* OBX_custom_msg_server_functions::func_shutdown |
OBX_custom_msg_server_func_start* OBX_custom_msg_server_functions::func_start |
OBX_custom_msg_server_func_stop* OBX_custom_msg_server_functions::func_stop |
size_t OBX_custom_msg_server_functions::version |
Must be initialized with sizeof(OBX_custom_msg_server_functions) to "version" the struct. This allows the library (whi) to detect older or newer versions and react properly.