open62541
1.3.12
Open source implementation of OPC UA
Loading...
Searching...
No Matches
doc
open62541
src
ua_connection_internal.h
Go to the documentation of this file.
1
/** This Source Code Form is subject to the terms of the Mozilla Public
2
* License, v. 2.0. If a copy of the MPL was not distributed with this
3
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
4
*
5
* Copyright 2016-2017 (c) Fraunhofer IOSB (Author: Julius Pfrommer)
6
* Copyright 2016-2017 (c) Stefan Profanter, fortiss GmbH
7
* Copyright 2017 (c) Florian Palm
8
* Copyright 2017 (c) Mark Giraud, Fraunhofer IOSB
9
*/
10
11
#ifndef UA_CONNECTION_INTERNAL_H_
12
#define UA_CONNECTION_INTERNAL_H_
13
14
#include <
open62541/plugin/network.h
>
15
#include <
open62541/transport_generated.h
>
16
17
_UA_BEGIN_DECLS
18
19
/** When a fatal error occurs the Server shall send an Error Message to the
20
* Client and close the socket. When a Client encounters one of these errors, it
21
* shall also close the socket but does not send an Error Message. After the
22
* socket is closed a Client shall try to reconnect automatically using the
23
* mechanisms described in [...]. */
24
void
25
UA_Connection_sendError
(
UA_Connection
*connection,
26
UA_TcpErrorMessage
*error);
27
28
void
UA_Connection_detachSecureChannel
(
UA_Connection
*connection);
29
void
UA_Connection_attachSecureChannel
(
UA_Connection
*connection,
30
UA_SecureChannel
*channel);
31
32
_UA_END_DECLS
33
34
#endif
/* UA_CONNECTION_INTERNAL_H_ */
_UA_BEGIN_DECLS
#define _UA_BEGIN_DECLS
#undef UA_DEBUG_DUMP_PKGS
Definition
config.h:89
_UA_END_DECLS
#define _UA_END_DECLS
Definition
config.h:96
network.h
UA_Connection
Definition
network.h:48
UA_SecureChannel
Definition
ua_securechannel.h:104
UA_TcpErrorMessage
Definition
transport_generated.h:82
transport_generated.h
UA_Connection_sendError
_UA_BEGIN_DECLS void UA_Connection_sendError(UA_Connection *connection, UA_TcpErrorMessage *error)
This Source Code Form is subject to the terms of the Mozilla Public License, v.
UA_Connection_attachSecureChannel
void UA_Connection_attachSecureChannel(UA_Connection *connection, UA_SecureChannel *channel)
UA_Connection_detachSecureChannel
void UA_Connection_detachSecureChannel(UA_Connection *connection)
Generated by
1.11.0