|
NVIDIA DeepStream SDK API Reference
|
6.4 Release
|
Go to the documentation of this file.
18 #ifndef __NV_MSGBROKER_H__
19 #define __NV_MSGBROKER_H__
26 #define NV_MSGBROKER_VERSION "2.0"
27 #define LOG_CAT "DSLOG:NV_MSGBROKER"
void * NvMsgBrokerClientHandle
NvMsgBrokerErrorType nv_msgbroker_subscribe(NvMsgBrokerClientHandle h_ptr, char **topics, int num_topics, nv_msgbroker_subscribe_cb_t cb, void *user_ctx)
Subscribe to a remote entity for receiving messages on particular topic(s)
void(* nv_msgbroker_connect_cb_t)(NvMsgBrokerClientHandle h_ptr, NvMsgBrokerErrorType status)
Connect callback method registered during connect.
void(* nv_msgbroker_subscribe_cb_t)(NvMsgBrokerErrorType status, void *msg, int msglen, char *topic, void *user_ptr)
subscribe callback method registered during subscribe
@ NV_MSGBROKER_API_NOT_SUPPORTED
@ NV_MSGBROKER_API_RECONNECTING
NvMsgBrokerClientHandle nv_msgbroker_connect(char *broker_conn_str, char *broker_proto_lib, nv_msgbroker_connect_cb_t connect_cb, char *cfg)
Connect to a remote entity by calling into msgbroker library.
NvMsgBrokerErrorType nv_msgbroker_disconnect(NvMsgBrokerClientHandle h_ptr)
char * nv_msgbroker_version(void)
NvMsgBrokerErrorType nv_msgbroker_send_async(NvMsgBrokerClientHandle h_ptr, NvMsgBrokerClientMsg message, nv_msgbroker_send_cb_t cb, void *user_ctx)
void(* nv_msgbroker_send_cb_t)(void *user_ptr, NvMsgBrokerErrorType status)
Send callback method registered during send_async.