ObjectBox C and C++ API 4.3.0
 
Loading...
Searching...
No Matches
OBX_custom_msg_client_functions Struct Reference

Struct of the custom client function callbacks. In order to implement the custom client, you must provide custom methods for each of the members of this struct. This is then passed to obx_custom_msg_client_register() to register the custom client. More...

#include <objectbox-sync.h>

Public Attributes

size_t version
 Must be initialized with sizeof(OBX_custom_msg_client_functions) to "version" the struct. This allows the library to detect older or newer versions and react properly.
 
OBX_custom_msg_client_func_createfunc_create
 
OBX_custom_msg_client_func_startfunc_start
 
OBX_custom_msg_client_func_connectfunc_connect
 
OBX_custom_msg_client_func_disconnectfunc_disconnect
 
OBX_custom_msg_client_func_stopfunc_stop
 
OBX_custom_msg_client_func_joinfunc_join
 
OBX_custom_msg_client_func_shutdownfunc_shutdown
 
OBX_custom_msg_client_func_send_asyncfunc_send_async
 
OBX_custom_msg_client_func_clear_outgoing_messagesfunc_clear_outgoing_messages
 

Detailed Description

Struct of the custom client function callbacks. In order to implement the custom client, you must provide custom methods for each of the members of this struct. This is then passed to obx_custom_msg_client_register() to register the custom client.

Member Data Documentation

◆ func_clear_outgoing_messages

OBX_custom_msg_client_func_clear_outgoing_messages* OBX_custom_msg_client_functions::func_clear_outgoing_messages

◆ func_connect

OBX_custom_msg_client_func_connect* OBX_custom_msg_client_functions::func_connect

◆ func_create

OBX_custom_msg_client_func_create* OBX_custom_msg_client_functions::func_create

◆ func_disconnect

OBX_custom_msg_client_func_disconnect* OBX_custom_msg_client_functions::func_disconnect

◆ func_join

OBX_custom_msg_client_func_join* OBX_custom_msg_client_functions::func_join

◆ func_send_async

OBX_custom_msg_client_func_send_async* OBX_custom_msg_client_functions::func_send_async

◆ func_shutdown

OBX_custom_msg_client_func_shutdown* OBX_custom_msg_client_functions::func_shutdown

◆ func_start

OBX_custom_msg_client_func_start* OBX_custom_msg_client_functions::func_start

◆ func_stop

OBX_custom_msg_client_func_stop* OBX_custom_msg_client_functions::func_stop

◆ version

size_t OBX_custom_msg_client_functions::version

Must be initialized with sizeof(OBX_custom_msg_client_functions) to "version" the struct. This allows the library to detect older or newer versions and react properly.