S2OPC OPCUA Toolkit
Loading...
Searching...
No Matches
sopc_reader_layer.h
Go to the documentation of this file.
1/*
2 * Licensed to Systerel under one or more contributor license
3 * agreements. See the NOTICE file distributed with this work
4 * for additional information regarding copyright ownership.
5 * Systerel licenses this file to you under the Apache
6 * License, Version 2.0 (the "License"); you may not use this
7 * file except in compliance with the License. You may obtain
8 * a copy of the License at
9 *
10 * http://www.apache.org/licenses/LICENSE-2.0
11 *
12 * Unless required by applicable law or agreed to in writing,
13 * software distributed under the License is distributed on an
14 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 * KIND, either express or implied. See the License for the
16 * specific language governing permissions and limitations
17 * under the License.
18 */
19
20#ifndef SOPC_SUB_READER_H_
21#define SOPC_SUB_READER_H_
22
23#include "sopc_buffer.h"
24#include "sopc_network_layer.h"
25#include "sopc_pubsub_conf.h"
28
42 SOPC_Buffer* buffer,
44 SOPC_UADP_GetSecurity_Func securityCBck,
45 SOPC_UADP_UpdateTimeout_Func updateTimeoutCBck,
46 SOPC_UADP_GetTargetVariable_Func targetVariableCBck,
48
53#endif /* SOPC_SUB_READER_H_ */
A buffer of bytes with a maximum size, length and position.
SOPC_TargetVariableCtx * SOPC_UADP_GetTargetVariable_Func(const SOPC_Conf_PublisherId *pubId, const uint16_t groupId, const uint16_t writerId)
A callback to retrieve a SOPC_TargetVariableCtx provided to user. The SOPC_TargetVariableCtx provided...
Definition sopc_network_layer.h:271
void SOPC_UADP_UpdateTimeout_Func(const SOPC_Conf_PublisherId *pubId, const uint16_t groupId, const uint16_t writerId)
Function used to update timeout state of an identified dataSetWriter. This function should be call if...
Definition sopc_network_layer.h:140
bool SOPC_UADP_IsWriterSequenceNumberNewer_Func(const SOPC_Conf_PublisherId *pubId, const uint16_t groupId, const uint16_t writerId, const uint16_t receivedSN)
Function used to check if a DataSetMessage sequence number is newer for the identified DataSetWriter.
Definition sopc_network_layer.h:127
SOPC_NetworkMessage_Error_Code
Definition sopc_network_layer.h:46
struct SOPC_PubSubConnection SOPC_PubSubConnection
Definition sopc_pubsub_conf.h:29
Internal module used to implement PubSub security features.
SOPC_NetworkMessage_Error_Code SOPC_Reader_Read_UADP(const SOPC_PubSubConnection *connection, SOPC_Buffer *buffer, SOPC_SubTargetVariableConfig *config, SOPC_UADP_GetSecurity_Func securityCBck, SOPC_UADP_UpdateTimeout_Func updateTimeoutCBck, SOPC_UADP_GetTargetVariable_Func targetVariableCBck, SOPC_UADP_IsWriterSequenceNumberNewer_Func snCBck)
const SOPC_UADP_NetworkMessage_Reader_Callbacks SOPC_Reader_NetworkMessage_Default_Readers
struct _SOPC_SubTargetVariableConfig SOPC_SubTargetVariableConfig
Definition sopc_sub_target_variable.h:29
Bytes buffer structure.
Definition sopc_buffer.h:38
Definition sopc_network_layer.h:276