S2OPC OPCUA Toolkit
Loading...
Searching...
No Matches
channel_mgr.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/******************************************************************************
21
22 File Name : channel_mgr.h
23
24 Date : 29/05/2024 08:51:39
25
26 C Translator Version : tradc Java V1.2 (06/02/2022)
27
28******************************************************************************/
29
30#ifndef _channel_mgr_h
31#define _channel_mgr_h
32
33/*--------------------------
34 Added by the Translator
35 --------------------------*/
36#include "b2c.h"
37
38/*-----------------
39 IMPORTS Clause
40 -----------------*/
41#include "channel_mgr_1.h"
42#include "channel_mgr_bs.h"
43#include "channel_mgr_it.h"
44
45/*--------------
46 SEES Clause
47 --------------*/
48#include "constants.h"
50#include "time_reference_bs.h"
51
52/*----------------------------
53 CONCRETE_VARIABLES Clause
54 ----------------------------*/
57
58/*------------------------
59 INITIALISATION Clause
60 ------------------------*/
62
63/*-------------------------------
64 PROMOTES and EXTENDS Clauses
65 -------------------------------*/
66#define channel_mgr__channel_do_nothing channel_mgr_bs__channel_do_nothing
67#define channel_mgr__get_SecurityPolicy channel_mgr_bs__get_SecurityPolicy
68#define channel_mgr__get_all_channel_info channel_mgr_1__get_all_channel_info
69#define channel_mgr__get_channel_info channel_mgr_1__get_channel_info
70#define channel_mgr__get_connected_channel channel_mgr_1__get_connected_channel
71#define channel_mgr__get_connection_time channel_mgr_1__get_connection_time
72#define channel_mgr__is_client_channel channel_mgr_1__is_client_channel
73#define channel_mgr__is_connected_channel channel_mgr_1__is_connected_channel
74#define channel_mgr__is_disconnecting_channel channel_mgr_1__is_disconnecting_channel
75#define channel_mgr__is_valid_channel_config_idx channel_mgr_bs__is_valid_channel_config_idx
76#define channel_mgr__is_valid_endpoint_config_idx channel_mgr_bs__is_valid_endpoint_config_idx
77#define channel_mgr__server_get_endpoint_config channel_mgr_1__server_get_endpoint_config
78
79/*--------------------------
80 LOCAL_OPERATIONS Clause
81 --------------------------*/
84 const constants__t_channel_i channel_mgr__p_channel,
85 const constants_statuscodes_bs__t_StatusCode_i channel_mgr__p_statusCode);
87 const t_bool channel_mgr__is_one_sc_auto_closing,
88 t_bool * const channel_mgr__l_allowed_new_sc);
89
90/*--------------------
91 OPERATIONS Clause
92 --------------------*/
94 const constants__t_channel_i channel_mgr__channel);
96 const constants__t_channel_config_idx_i channel_mgr__config_idx,
97 const constants__t_reverse_endpoint_config_idx_i channel_mgr__reverse_endpoint_config_idx,
98 const t_bool channel_mgr__is_one_sc_auto_closing,
99 t_bool * const channel_mgr__bres);
101 const constants__t_channel_config_idx_i channel_mgr__config_idx,
102 const constants__t_reverse_endpoint_config_idx_i channel_mgr__reverse_endpoint_config_idx,
103 const constants__t_channel_i channel_mgr__channel,
104 t_bool * const channel_mgr__bres);
106 const constants__t_channel_config_idx_i channel_mgr__config_idx,
107 t_bool * const channel_mgr__bres);
109 const t_bool channel_mgr__p_clientOnly,
110 t_bool * const channel_mgr__bres);
112 const constants__t_channel_i channel_mgr__channel,
113 const constants_statuscodes_bs__t_StatusCode_i channel_mgr__statusCode);
115 t_bool * const channel_mgr__p_auto_closed_active);
117 const constants__t_channel_i channel_mgr__p_channel,
118 t_bool * const channel_mgr__p_session_locked);
120 const constants__t_channel_i channel_mgr__p_channel);
122 const constants__t_endpoint_config_idx_i channel_mgr__endpoint_config_idx,
123 const constants__t_channel_config_idx_i channel_mgr__channel_config_idx,
124 const constants__t_channel_i channel_mgr__channel,
125 const t_bool channel_mgr__is_one_sc_auto_closing,
126 t_bool * const channel_mgr__bres);
128 const constants__t_channel_i channel_mgr__p_channel);
129
130#endif
bool t_bool
Definition b2c.h:28
void channel_mgr__l_close_secure_channel(const constants__t_channel_i channel_mgr__p_channel, const constants_statuscodes_bs__t_StatusCode_i channel_mgr__p_statusCode)
void channel_mgr__l_is_new_sc_connection_allowed(const t_bool channel_mgr__is_one_sc_auto_closing, t_bool *const channel_mgr__l_allowed_new_sc)
void channel_mgr__INITIALISATION(void)
void channel_mgr__set_create_session_locked(const constants__t_channel_i channel_mgr__p_channel)
t_bool channel_mgr__all_channel_closing
void channel_mgr__cli_set_connection_timeout_channel(const constants__t_channel_config_idx_i channel_mgr__config_idx, t_bool *const channel_mgr__bres)
void channel_mgr__is_auto_close_channel_active(t_bool *const channel_mgr__p_auto_closed_active)
void channel_mgr__is_create_session_locked(const constants__t_channel_i channel_mgr__p_channel, t_bool *const channel_mgr__p_session_locked)
void channel_mgr__cli_set_connected_channel(const constants__t_channel_config_idx_i channel_mgr__config_idx, const constants__t_reverse_endpoint_config_idx_i channel_mgr__reverse_endpoint_config_idx, const constants__t_channel_i channel_mgr__channel, t_bool *const channel_mgr__bres)
void channel_mgr__cli_open_secure_channel(const constants__t_channel_config_idx_i channel_mgr__config_idx, const constants__t_reverse_endpoint_config_idx_i channel_mgr__reverse_endpoint_config_idx, const t_bool channel_mgr__is_one_sc_auto_closing, t_bool *const channel_mgr__bres)
void channel_mgr__l_check_all_channel_lost(void)
void channel_mgr__close_secure_channel(const constants__t_channel_i channel_mgr__channel, const constants_statuscodes_bs__t_StatusCode_i channel_mgr__statusCode)
void channel_mgr__srv_new_secure_channel(const constants__t_endpoint_config_idx_i channel_mgr__endpoint_config_idx, const constants__t_channel_config_idx_i channel_mgr__channel_config_idx, const constants__t_channel_i channel_mgr__channel, const t_bool channel_mgr__is_one_sc_auto_closing, t_bool *const channel_mgr__bres)
void channel_mgr__channel_lost(const constants__t_channel_i channel_mgr__channel)
t_bool channel_mgr__all_client_only_channel_closing
void channel_mgr__update_create_session_locked(const constants__t_channel_i channel_mgr__p_channel)
void channel_mgr__close_all_channel(const t_bool channel_mgr__p_clientOnly, t_bool *const channel_mgr__bres)
#define constants__t_endpoint_config_idx_i
Definition constants.h:94
#define constants__t_reverse_endpoint_config_idx_i
Definition constants.h:113
#define constants__t_channel_config_idx_i
Definition constants.h:90
#define constants__t_channel_i
Definition constants.h:91
constants_statuscodes_bs__t_StatusCode_i
Definition constants_statuscodes_bs.h:46