![]() |
C++ Based OPC UA Client/Server/PubSub SDK
1.7.6.537
|
Callback class for the DataSetReader. More...
#include <datasetreadercallback.h>
Inherited by PubSubServer::DataSetDispatcher.
Public Member Functions | |
virtual OpcUa_StatusCode | startUpReader (PubSubBase::DataSetReader *pDataSetReader)=0 |
Callback informing the application about the start up of the PubSub module in the server SDK. More... | |
virtual void | stateChange (PubSubBase::DataSetReader *pDataSetReader, OpcUa_PubSubState newState) |
Callback informing the application about a state change of the DataSetReader. More... | |
virtual OpcUa_StatusCode | shutDownReader (PubSubBase::DataSetReader *pDataSetReader)=0 |
Callback informing the application about the shut down of the PubSub module in the server SDK. More... | |
virtual OpcUa_StatusCode | newMessageReceived (PubSubBase::DataSetReader *pDataSetReader, struct ua_decoder_context *pDecoder, struct pubsub_datasetmsg_ctx *pDataSetMessageContext)=0 |
Callback informing about a new message received for a DataSetReader. More... | |
virtual void | newDataInQueue (PubSubBase::DataSetReader *pDataSetReader, OpcUa_UInt16 status, ua_datetime timestamp) |
Callback informing about new data in the queue. More... | |
Callback class for the DataSetReader.
|
virtual |
Callback informing about new data in the queue.
This callback is used if the application takes the values from a value queue filled by the PubSubstack when a received message is decoded by the PubSub stack
The method should not block
[in] | pDataSetReader | The affected DataSetReader |
[in] | status | The overall status of the DataSetMessage |
[in] | timestamp | The timestamp of the DataSetMessage. |
Reimplemented in PubSubServer::DataSetDispatcher.
|
pure virtual |
Callback informing about a new message received for a DataSetReader.
This callback ist used if the application decodes the received message.
The method should not block
[in] | pDataSetReader | The affected DataSetReader | ||||||||||
[in] | pDecoder | The decoder object used to read the DataSetMessage fields from the message payload. | ||||||||||
[in,out] | pDataSetMessageContext | Context and header fields for the DataSetMessage. The following fields are contained in the structure
|
Implemented in PubSubServer::DataSetDispatcher.
|
pure virtual |
Callback informing the application about the shut down of the PubSub module in the server SDK.
The application is not allowed to call any methods on the PubSubModule if this method call is returned.
[in] | pDataSetReader | The affected DataSetReader |
Implemented in PubSubServer::DataSetDispatcher.
|
pure virtual |
Callback informing the application about the start up of the PubSub module in the server SDK.
[in] | pDataSetReader | The affected DataSetReader |
Implemented in PubSubServer::DataSetDispatcher.
|
virtual |
Callback informing the application about a state change of the DataSetReader.
[in] | pDataSetReader | The affected DataSetReader |
[in] | newState | The new state of the affected DataSetReader |