A helper class that delegates C style function pointers to C++ class method invocations via user data. Also, it provides makeFunctions() and registerProtocol().
More...
#include <objectbox-sync.hpp>
template<typename CLIENT>
class obx::CustomMsgClientDelegate< CLIENT >
A helper class that delegates C style function pointers to C++ class method invocations via user data. Also, it provides makeFunctions() and registerProtocol().
◆ delegateClearOutgoingMessages()
template<typename CLIENT >
◆ delegateConnect()
template<typename CLIENT >
◆ delegateCreate()
template<typename CLIENT >
static void* obx::CustomMsgClientDelegate< CLIENT >::delegateCreate |
( |
uint64_t |
clientId, |
|
|
const char * |
url, |
|
|
const char * |
certPath, |
|
|
void * |
userConfig |
|
) |
| |
|
inlinestatic |
◆ delegateDisconnect()
template<typename CLIENT >
◆ delegateJoin()
template<typename CLIENT >
◆ delegateSendAsync()
template<typename CLIENT >
◆ delegateShutdown()
template<typename CLIENT >
◆ delegateStart()
template<typename CLIENT >
◆ delegateStop()
template<typename CLIENT >
◆ makeFunctions()
template<typename CLIENT >
◆ registerProtocol()
template<typename CLIENT >
Must be called to register a protocol for your custom messaging client. Call before starting a client.
- Parameters
-
protocol | the communication protocol to use, e.g. "tcp" |
◆ sharedPtr()
template<typename CLIENT >
◆ sharedPtrPtr()
template<typename CLIENT >