open62541 1.3.12
Open source implementation of OPC UA
|
#include <pubsub.h>
Data Fields | |
UA_UInt32 | publisherId |
UA_PubSubChannelState | state |
UA_PubSubConnectionConfig * | connectionConfig |
UA_SOCKET | sockfd |
void * | handle |
UA_StatusCode(* | send )(UA_PubSubChannel *channel, UA_ExtensionObject *transportSettings, const UA_ByteString *buf) |
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(* | receive )(UA_PubSubChannel *channel, UA_ExtensionObject *transportSettings, UA_PubSubReceiveCallback receiveCallback, void *receiveCallbackContext, UA_UInt32 timeout) |
UA_StatusCode(* | close )(UA_PubSubChannel *channel) |
UA_StatusCode(* | yield )(UA_PubSubChannel *channel, UA_UInt16 timeout) |
Interface structure between network plugin and internal implementation.
UA_PubSubChannelState UA_PubSubChannel::state |
UA_PubSubConnectionConfig* UA_PubSubChannel::connectionConfig |
UA_StatusCode(* UA_PubSubChannel::send) (UA_PubSubChannel *channel, UA_ExtensionObject *transportSettings, const UA_ByteString *buf) |
UA_StatusCode(* UA_PubSubChannel::regist) (UA_PubSubChannel *channel, UA_ExtensionObject *transportSettings, void(*callback)(UA_ByteString *encodedBuffer, UA_ByteString *topic)) |
UA_StatusCode(* UA_PubSubChannel::unregist) (UA_PubSubChannel *channel, UA_ExtensionObject *transportSettings) |
UA_StatusCode(* UA_PubSubChannel::receive) (UA_PubSubChannel *channel, UA_ExtensionObject *transportSettings, UA_PubSubReceiveCallback receiveCallback, void *receiveCallbackContext, UA_UInt32 timeout) |
UA_StatusCode(* UA_PubSubChannel::close) (UA_PubSubChannel *channel) |
UA_StatusCode(* UA_PubSubChannel::yield) (UA_PubSubChannel *channel, UA_UInt16 timeout) |