8#ifndef UA_PLUGIN_PUBSUB_H_
9#define UA_PLUGIN_PUBSUB_H_
16#ifdef UA_ENABLE_PUBSUB
37 void *callbackContext,
66 void *receiveCallbackContext,
#define _UA_BEGIN_DECLS
#undef UA_DEBUG_DUMP_PKGS
UA_StatusCode(* UA_PubSubReceiveCallback)(UA_PubSubChannel *channel, void *callbackContext, const UA_ByteString *buffer)
@ UA_PUBSUB_CHANNEL_ERROR
@ UA_PUBSUB_CHANNEL_PUB_SUB
@ UA_PUBSUB_CHANNEL_CLOSED
Interface structure between network plugin and internal implementation.
UA_PubSubConnectionConfig * connectionConfig
UA_StatusCode(* close)(UA_PubSubChannel *channel)
UA_StatusCode(* receive)(UA_PubSubChannel *channel, UA_ExtensionObject *transportSettings, UA_PubSubReceiveCallback receiveCallback, void *receiveCallbackContext, UA_UInt32 timeout)
UA_StatusCode(* yield)(UA_PubSubChannel *channel, UA_UInt16 timeout)
UA_StatusCode(* regist)(UA_PubSubChannel *channel, UA_ExtensionObject *transportSettings, void(*callback)(UA_ByteString *encodedBuffer, UA_ByteString *topic))
UA_StatusCode(* unregist)(UA_PubSubChannel *channel, UA_ExtensionObject *transportSettings)
UA_StatusCode(* send)(UA_PubSubChannel *channel, UA_ExtensionObject *transportSettings, const UA_ByteString *buf)
UA_PubSubChannelState state
UA_String transportProfileUri