node-opcua-transport 2.71.0 → 2.72.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/source/AcknowledgeMessage.d.ts +27 -27
- package/dist/source/AcknowledgeMessage.js +78 -78
- package/dist/source/HelloMessage.d.ts +27 -27
- package/dist/source/HelloMessage.js +94 -94
- package/dist/source/TCPErrorMessage.d.ts +18 -18
- package/dist/source/TCPErrorMessage.js +46 -46
- package/dist/source/client_tcp_transport.d.ts +72 -72
- package/dist/source/client_tcp_transport.js +322 -322
- package/dist/source/index.d.ts +13 -13
- package/dist/source/index.js +29 -29
- package/dist/source/message_builder_base.d.ts +81 -81
- package/dist/source/message_builder_base.js +229 -229
- package/dist/source/server_tcp_transport.d.ts +44 -44
- package/dist/source/server_tcp_transport.js +228 -228
- package/dist/source/status_codes.d.ts +100 -100
- package/dist/source/status_codes.js +110 -110
- package/dist/source/tcp_transport.d.ts +119 -119
- package/dist/source/tcp_transport.js +386 -386
- package/dist/source/tools.d.ts +14 -14
- package/dist/source/tools.js +103 -103
- package/dist/source/utils.d.ts +3 -3
- package/dist/source/utils.js +9 -9
- package/dist/test-fixtures/fixture_full_tcp_packets.d.ts +21 -21
- package/dist/test-fixtures/fixture_full_tcp_packets.js +41 -41
- package/dist/test-fixtures/index.d.ts +1 -1
- package/dist/test-fixtures/index.js +17 -17
- package/dist/test_helpers/direct_transport.d.ts +18 -18
- package/dist/test_helpers/direct_transport.js +62 -62
- package/dist/test_helpers/fake_server.d.ts +19 -19
- package/dist/test_helpers/fake_server.js +54 -54
- package/dist/test_helpers/half_com_channel.d.ts +17 -17
- package/dist/test_helpers/half_com_channel.js +31 -31
- package/dist/test_helpers/index.d.ts +4 -4
- package/dist/test_helpers/index.js +20 -20
- package/dist/test_helpers/socket_transport.d.ts +10 -10
- package/dist/test_helpers/socket_transport.js +30 -30
- package/package.json +6 -6
|
@@ -1,100 +1,100 @@
|
|
|
1
|
-
export declare const StatusCodes2: {
|
|
2
|
-
/**
|
|
3
|
-
* The Server cannot process the request because it is too busy.
|
|
4
|
-
*
|
|
5
|
-
* It is up to the Server to determine when it needs to return this Message.
|
|
6
|
-
*
|
|
7
|
-
* A Server can control the how frequently a Client reconnects by waiting to return this error.
|
|
8
|
-
*/
|
|
9
|
-
BadTcpServerTooBusy: import("node-opcua-status-code").ConstantStatusCode;
|
|
10
|
-
/**
|
|
11
|
-
* The type of the Message specified in the header invalid.
|
|
12
|
-
* Each Message starts with a 4-byte sequence of ASCII values that identifies the Message type.
|
|
13
|
-
* The Server returns this error if the Message type is not accepted.
|
|
14
|
-
* Some of the Message types are defined by the SecureChannel layer.
|
|
15
|
-
*/
|
|
16
|
-
BadTcpMessageTypeInvalid: import("node-opcua-status-code").ConstantStatusCode;
|
|
17
|
-
/**
|
|
18
|
-
* The SecureChannelId and/or TokenId are not currently in use.
|
|
19
|
-
* This error is reported by the SecureChannel layer.
|
|
20
|
-
*/
|
|
21
|
-
BadTcpSecureChannelUnknown: import("node-opcua-status-code").ConstantStatusCode;
|
|
22
|
-
/**
|
|
23
|
-
* The size of the Message specified in the header is too large.
|
|
24
|
-
* The Server returns this error if the Message size exceeds its maximum buffer size
|
|
25
|
-
* or the receive buffer size negotiated during the Hello/Acknowledge exchange.
|
|
26
|
-
*/
|
|
27
|
-
BadTcpMessageTooLarge: import("node-opcua-status-code").ConstantStatusCode;
|
|
28
|
-
/**
|
|
29
|
-
* A timeout occurred while accessing a resource.
|
|
30
|
-
* It is up to the Server to determine when a timeout occurs.
|
|
31
|
-
*/
|
|
32
|
-
BadTimeout: import("node-opcua-status-code").ConstantStatusCode;
|
|
33
|
-
/**
|
|
34
|
-
* There are not enough resources to process the request.
|
|
35
|
-
* The Server returns this error when it runs out of memory or encounters similar resource problems.
|
|
36
|
-
* A Server can control the how frequently a Client reconnects by waiting to return this error.
|
|
37
|
-
*/
|
|
38
|
-
BadTcpNotEnoughResources: import("node-opcua-status-code").ConstantStatusCode;
|
|
39
|
-
/**
|
|
40
|
-
* An internal error occurred.
|
|
41
|
-
* This should only be returned if an unexpected configuration or programming error occurs.
|
|
42
|
-
*/
|
|
43
|
-
BadTcpInternalError: import("node-opcua-status-code").ConstantStatusCode;
|
|
44
|
-
/**
|
|
45
|
-
* The Server does not recognize the EndpointUrl specified.
|
|
46
|
-
*/
|
|
47
|
-
BadTcpEndpointUrlInvalid: import("node-opcua-status-code").ConstantStatusCode;
|
|
48
|
-
/**
|
|
49
|
-
* The Message was rejected because it could not be verified.
|
|
50
|
-
*/
|
|
51
|
-
BadSecurityChecksFailed: import("node-opcua-status-code").ConstantStatusCode;
|
|
52
|
-
/**
|
|
53
|
-
* The request could not be sent because of a network interruption.
|
|
54
|
-
*/
|
|
55
|
-
BadRequestInterrupted: import("node-opcua-status-code").ConstantStatusCode;
|
|
56
|
-
/**
|
|
57
|
-
* Timeout occurred while processing the request.
|
|
58
|
-
*/
|
|
59
|
-
BadRequestTimeout: import("node-opcua-status-code").ConstantStatusCode;
|
|
60
|
-
/**
|
|
61
|
-
* The secure channel has been closed.
|
|
62
|
-
*/
|
|
63
|
-
BadSecureChannelClosed: import("node-opcua-status-code").ConstantStatusCode;
|
|
64
|
-
/**
|
|
65
|
-
* The SecurityToken has expired or is not recognized. BadSecureChannelTokenUnknown
|
|
66
|
-
*/
|
|
67
|
-
BadSecureChannelTokenUnknown: import("node-opcua-status-code").ConstantStatusCode;
|
|
68
|
-
/**
|
|
69
|
-
* The sender Certificate is not trusted by the receiver.
|
|
70
|
-
*/
|
|
71
|
-
BadCertificateUntrusted: import("node-opcua-status-code").ConstantStatusCode;
|
|
72
|
-
/**
|
|
73
|
-
* The sender Certificate has expired or is not yet valid.
|
|
74
|
-
*/
|
|
75
|
-
BadCertificateTimeInvalid: import("node-opcua-status-code").ConstantStatusCode;
|
|
76
|
-
/**
|
|
77
|
-
* The issuer for the sender Certificate has expired or is not yet valid.
|
|
78
|
-
*/
|
|
79
|
-
BadCertificateIssuerTimeInvalid: import("node-opcua-status-code").ConstantStatusCode;
|
|
80
|
-
/**
|
|
81
|
-
* The sender’s Certificate may not be used for establishing a secure channel.
|
|
82
|
-
*/
|
|
83
|
-
BadCertificateUseNotAllowed: import("node-opcua-status-code").ConstantStatusCode;
|
|
84
|
-
/**
|
|
85
|
-
* The issuer Certificate may not be used as a Certificate Authority.
|
|
86
|
-
*/
|
|
87
|
-
BadCertificateIssuerUseNotAllowed: import("node-opcua-status-code").ConstantStatusCode;
|
|
88
|
-
/**
|
|
89
|
-
* Could not verify the revocation status of the sender’s Certificate.
|
|
90
|
-
*/
|
|
91
|
-
BadCertificateRevocationUnknown: import("node-opcua-status-code").ConstantStatusCode;
|
|
92
|
-
/**
|
|
93
|
-
* Could not verify the revocation status of the issuer Certificate.
|
|
94
|
-
*/
|
|
95
|
-
BadCertificateIssuerRevocationUnknown: import("node-opcua-status-code").ConstantStatusCode;
|
|
96
|
-
/**
|
|
97
|
-
* The sender Certificate has been revoked by the issuer.
|
|
98
|
-
*/
|
|
99
|
-
BadCertificateRevoked: import("node-opcua-status-code").ConstantStatusCode;
|
|
100
|
-
};
|
|
1
|
+
export declare const StatusCodes2: {
|
|
2
|
+
/**
|
|
3
|
+
* The Server cannot process the request because it is too busy.
|
|
4
|
+
*
|
|
5
|
+
* It is up to the Server to determine when it needs to return this Message.
|
|
6
|
+
*
|
|
7
|
+
* A Server can control the how frequently a Client reconnects by waiting to return this error.
|
|
8
|
+
*/
|
|
9
|
+
BadTcpServerTooBusy: import("node-opcua-status-code").ConstantStatusCode;
|
|
10
|
+
/**
|
|
11
|
+
* The type of the Message specified in the header invalid.
|
|
12
|
+
* Each Message starts with a 4-byte sequence of ASCII values that identifies the Message type.
|
|
13
|
+
* The Server returns this error if the Message type is not accepted.
|
|
14
|
+
* Some of the Message types are defined by the SecureChannel layer.
|
|
15
|
+
*/
|
|
16
|
+
BadTcpMessageTypeInvalid: import("node-opcua-status-code").ConstantStatusCode;
|
|
17
|
+
/**
|
|
18
|
+
* The SecureChannelId and/or TokenId are not currently in use.
|
|
19
|
+
* This error is reported by the SecureChannel layer.
|
|
20
|
+
*/
|
|
21
|
+
BadTcpSecureChannelUnknown: import("node-opcua-status-code").ConstantStatusCode;
|
|
22
|
+
/**
|
|
23
|
+
* The size of the Message specified in the header is too large.
|
|
24
|
+
* The Server returns this error if the Message size exceeds its maximum buffer size
|
|
25
|
+
* or the receive buffer size negotiated during the Hello/Acknowledge exchange.
|
|
26
|
+
*/
|
|
27
|
+
BadTcpMessageTooLarge: import("node-opcua-status-code").ConstantStatusCode;
|
|
28
|
+
/**
|
|
29
|
+
* A timeout occurred while accessing a resource.
|
|
30
|
+
* It is up to the Server to determine when a timeout occurs.
|
|
31
|
+
*/
|
|
32
|
+
BadTimeout: import("node-opcua-status-code").ConstantStatusCode;
|
|
33
|
+
/**
|
|
34
|
+
* There are not enough resources to process the request.
|
|
35
|
+
* The Server returns this error when it runs out of memory or encounters similar resource problems.
|
|
36
|
+
* A Server can control the how frequently a Client reconnects by waiting to return this error.
|
|
37
|
+
*/
|
|
38
|
+
BadTcpNotEnoughResources: import("node-opcua-status-code").ConstantStatusCode;
|
|
39
|
+
/**
|
|
40
|
+
* An internal error occurred.
|
|
41
|
+
* This should only be returned if an unexpected configuration or programming error occurs.
|
|
42
|
+
*/
|
|
43
|
+
BadTcpInternalError: import("node-opcua-status-code").ConstantStatusCode;
|
|
44
|
+
/**
|
|
45
|
+
* The Server does not recognize the EndpointUrl specified.
|
|
46
|
+
*/
|
|
47
|
+
BadTcpEndpointUrlInvalid: import("node-opcua-status-code").ConstantStatusCode;
|
|
48
|
+
/**
|
|
49
|
+
* The Message was rejected because it could not be verified.
|
|
50
|
+
*/
|
|
51
|
+
BadSecurityChecksFailed: import("node-opcua-status-code").ConstantStatusCode;
|
|
52
|
+
/**
|
|
53
|
+
* The request could not be sent because of a network interruption.
|
|
54
|
+
*/
|
|
55
|
+
BadRequestInterrupted: import("node-opcua-status-code").ConstantStatusCode;
|
|
56
|
+
/**
|
|
57
|
+
* Timeout occurred while processing the request.
|
|
58
|
+
*/
|
|
59
|
+
BadRequestTimeout: import("node-opcua-status-code").ConstantStatusCode;
|
|
60
|
+
/**
|
|
61
|
+
* The secure channel has been closed.
|
|
62
|
+
*/
|
|
63
|
+
BadSecureChannelClosed: import("node-opcua-status-code").ConstantStatusCode;
|
|
64
|
+
/**
|
|
65
|
+
* The SecurityToken has expired or is not recognized. BadSecureChannelTokenUnknown
|
|
66
|
+
*/
|
|
67
|
+
BadSecureChannelTokenUnknown: import("node-opcua-status-code").ConstantStatusCode;
|
|
68
|
+
/**
|
|
69
|
+
* The sender Certificate is not trusted by the receiver.
|
|
70
|
+
*/
|
|
71
|
+
BadCertificateUntrusted: import("node-opcua-status-code").ConstantStatusCode;
|
|
72
|
+
/**
|
|
73
|
+
* The sender Certificate has expired or is not yet valid.
|
|
74
|
+
*/
|
|
75
|
+
BadCertificateTimeInvalid: import("node-opcua-status-code").ConstantStatusCode;
|
|
76
|
+
/**
|
|
77
|
+
* The issuer for the sender Certificate has expired or is not yet valid.
|
|
78
|
+
*/
|
|
79
|
+
BadCertificateIssuerTimeInvalid: import("node-opcua-status-code").ConstantStatusCode;
|
|
80
|
+
/**
|
|
81
|
+
* The sender’s Certificate may not be used for establishing a secure channel.
|
|
82
|
+
*/
|
|
83
|
+
BadCertificateUseNotAllowed: import("node-opcua-status-code").ConstantStatusCode;
|
|
84
|
+
/**
|
|
85
|
+
* The issuer Certificate may not be used as a Certificate Authority.
|
|
86
|
+
*/
|
|
87
|
+
BadCertificateIssuerUseNotAllowed: import("node-opcua-status-code").ConstantStatusCode;
|
|
88
|
+
/**
|
|
89
|
+
* Could not verify the revocation status of the sender’s Certificate.
|
|
90
|
+
*/
|
|
91
|
+
BadCertificateRevocationUnknown: import("node-opcua-status-code").ConstantStatusCode;
|
|
92
|
+
/**
|
|
93
|
+
* Could not verify the revocation status of the issuer Certificate.
|
|
94
|
+
*/
|
|
95
|
+
BadCertificateIssuerRevocationUnknown: import("node-opcua-status-code").ConstantStatusCode;
|
|
96
|
+
/**
|
|
97
|
+
* The sender Certificate has been revoked by the issuer.
|
|
98
|
+
*/
|
|
99
|
+
BadCertificateRevoked: import("node-opcua-status-code").ConstantStatusCode;
|
|
100
|
+
};
|
|
@@ -1,111 +1,111 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.StatusCodes2 = void 0;
|
|
4
|
-
const node_opcua_status_code_1 = require("node-opcua-status-code");
|
|
5
|
-
exports.StatusCodes2 = {
|
|
6
|
-
/**
|
|
7
|
-
* The Server cannot process the request because it is too busy.
|
|
8
|
-
*
|
|
9
|
-
* It is up to the Server to determine when it needs to return this Message.
|
|
10
|
-
*
|
|
11
|
-
* A Server can control the how frequently a Client reconnects by waiting to return this error.
|
|
12
|
-
*/
|
|
13
|
-
BadTcpServerTooBusy: node_opcua_status_code_1.StatusCodes.BadTcpServerTooBusy,
|
|
14
|
-
/**
|
|
15
|
-
* The type of the Message specified in the header invalid.
|
|
16
|
-
* Each Message starts with a 4-byte sequence of ASCII values that identifies the Message type.
|
|
17
|
-
* The Server returns this error if the Message type is not accepted.
|
|
18
|
-
* Some of the Message types are defined by the SecureChannel layer.
|
|
19
|
-
*/
|
|
20
|
-
BadTcpMessageTypeInvalid: node_opcua_status_code_1.StatusCodes.BadTcpMessageTypeInvalid,
|
|
21
|
-
/**
|
|
22
|
-
* The SecureChannelId and/or TokenId are not currently in use.
|
|
23
|
-
* This error is reported by the SecureChannel layer.
|
|
24
|
-
*/
|
|
25
|
-
BadTcpSecureChannelUnknown: node_opcua_status_code_1.StatusCodes.BadTcpSecureChannelUnknown,
|
|
26
|
-
/**
|
|
27
|
-
* The size of the Message specified in the header is too large.
|
|
28
|
-
* The Server returns this error if the Message size exceeds its maximum buffer size
|
|
29
|
-
* or the receive buffer size negotiated during the Hello/Acknowledge exchange.
|
|
30
|
-
*/
|
|
31
|
-
BadTcpMessageTooLarge: node_opcua_status_code_1.StatusCodes.BadTcpMessageTooLarge,
|
|
32
|
-
/**
|
|
33
|
-
* A timeout occurred while accessing a resource.
|
|
34
|
-
* It is up to the Server to determine when a timeout occurs.
|
|
35
|
-
*/
|
|
36
|
-
BadTimeout: node_opcua_status_code_1.StatusCodes.BadTimeout,
|
|
37
|
-
/**
|
|
38
|
-
* There are not enough resources to process the request.
|
|
39
|
-
* The Server returns this error when it runs out of memory or encounters similar resource problems.
|
|
40
|
-
* A Server can control the how frequently a Client reconnects by waiting to return this error.
|
|
41
|
-
*/
|
|
42
|
-
BadTcpNotEnoughResources: node_opcua_status_code_1.StatusCodes.BadTcpNotEnoughResources,
|
|
43
|
-
/**
|
|
44
|
-
* An internal error occurred.
|
|
45
|
-
* This should only be returned if an unexpected configuration or programming error occurs.
|
|
46
|
-
*/
|
|
47
|
-
BadTcpInternalError: node_opcua_status_code_1.StatusCodes.BadTcpInternalError,
|
|
48
|
-
/**
|
|
49
|
-
* The Server does not recognize the EndpointUrl specified.
|
|
50
|
-
*/
|
|
51
|
-
BadTcpEndpointUrlInvalid: node_opcua_status_code_1.StatusCodes.BadTcpEndpointUrlInvalid,
|
|
52
|
-
/**
|
|
53
|
-
* The Message was rejected because it could not be verified.
|
|
54
|
-
*/
|
|
55
|
-
BadSecurityChecksFailed: node_opcua_status_code_1.StatusCodes.BadSecurityChecksFailed,
|
|
56
|
-
/**
|
|
57
|
-
* The request could not be sent because of a network interruption.
|
|
58
|
-
*/
|
|
59
|
-
BadRequestInterrupted: node_opcua_status_code_1.StatusCodes.BadRequestInterrupted,
|
|
60
|
-
/**
|
|
61
|
-
* Timeout occurred while processing the request.
|
|
62
|
-
*/
|
|
63
|
-
BadRequestTimeout: node_opcua_status_code_1.StatusCodes.BadRequestTimeout,
|
|
64
|
-
/**
|
|
65
|
-
* The secure channel has been closed.
|
|
66
|
-
*/
|
|
67
|
-
BadSecureChannelClosed: node_opcua_status_code_1.StatusCodes.BadSecureChannelClosed,
|
|
68
|
-
/**
|
|
69
|
-
* The SecurityToken has expired or is not recognized. BadSecureChannelTokenUnknown
|
|
70
|
-
*/
|
|
71
|
-
BadSecureChannelTokenUnknown: node_opcua_status_code_1.StatusCodes.BadSecureChannelTokenUnknown,
|
|
72
|
-
/**
|
|
73
|
-
* The sender Certificate is not trusted by the receiver.
|
|
74
|
-
*/
|
|
75
|
-
BadCertificateUntrusted: node_opcua_status_code_1.StatusCodes.BadCertificateUntrusted,
|
|
76
|
-
/**
|
|
77
|
-
* The sender Certificate has expired or is not yet valid.
|
|
78
|
-
*/
|
|
79
|
-
BadCertificateTimeInvalid: node_opcua_status_code_1.StatusCodes.BadCertificateTimeInvalid,
|
|
80
|
-
/**
|
|
81
|
-
* The issuer for the sender Certificate has expired or is not yet valid.
|
|
82
|
-
*/
|
|
83
|
-
BadCertificateIssuerTimeInvalid: node_opcua_status_code_1.StatusCodes.BadCertificateIssuerTimeInvalid,
|
|
84
|
-
/**
|
|
85
|
-
* The sender’s Certificate may not be used for establishing a secure channel.
|
|
86
|
-
*/
|
|
87
|
-
BadCertificateUseNotAllowed: node_opcua_status_code_1.StatusCodes.BadCertificateUseNotAllowed,
|
|
88
|
-
/**
|
|
89
|
-
* The issuer Certificate may not be used as a Certificate Authority.
|
|
90
|
-
*/
|
|
91
|
-
BadCertificateIssuerUseNotAllowed: node_opcua_status_code_1.StatusCodes.BadCertificateIssuerUseNotAllowed,
|
|
92
|
-
/**
|
|
93
|
-
* Could not verify the revocation status of the sender’s Certificate.
|
|
94
|
-
*/
|
|
95
|
-
BadCertificateRevocationUnknown: node_opcua_status_code_1.StatusCodes.BadCertificateRevocationUnknown,
|
|
96
|
-
/**
|
|
97
|
-
* Could not verify the revocation status of the issuer Certificate.
|
|
98
|
-
*/
|
|
99
|
-
BadCertificateIssuerRevocationUnknown: node_opcua_status_code_1.StatusCodes.BadCertificateIssuerRevocationUnknown,
|
|
100
|
-
/**
|
|
101
|
-
* The sender Certificate has been revoked by the issuer.
|
|
102
|
-
*/
|
|
103
|
-
BadCertificateRevoked: node_opcua_status_code_1.StatusCodes.BadCertificateRevoked
|
|
104
|
-
/**The issuer Certificate has been revoked by its issuer.
|
|
105
|
-
*/
|
|
106
|
-
// todo BadIssuerCertificateRevoked: StatusCodes.BadIssuerCertificateRevoked,
|
|
107
|
-
/** The receiver Certificate thumbprint is not recognized by the receiver.
|
|
108
|
-
*/
|
|
109
|
-
// todo .. BadCertificateUnknown: StatusCodes.BadCertificateUnknown
|
|
110
|
-
};
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.StatusCodes2 = void 0;
|
|
4
|
+
const node_opcua_status_code_1 = require("node-opcua-status-code");
|
|
5
|
+
exports.StatusCodes2 = {
|
|
6
|
+
/**
|
|
7
|
+
* The Server cannot process the request because it is too busy.
|
|
8
|
+
*
|
|
9
|
+
* It is up to the Server to determine when it needs to return this Message.
|
|
10
|
+
*
|
|
11
|
+
* A Server can control the how frequently a Client reconnects by waiting to return this error.
|
|
12
|
+
*/
|
|
13
|
+
BadTcpServerTooBusy: node_opcua_status_code_1.StatusCodes.BadTcpServerTooBusy,
|
|
14
|
+
/**
|
|
15
|
+
* The type of the Message specified in the header invalid.
|
|
16
|
+
* Each Message starts with a 4-byte sequence of ASCII values that identifies the Message type.
|
|
17
|
+
* The Server returns this error if the Message type is not accepted.
|
|
18
|
+
* Some of the Message types are defined by the SecureChannel layer.
|
|
19
|
+
*/
|
|
20
|
+
BadTcpMessageTypeInvalid: node_opcua_status_code_1.StatusCodes.BadTcpMessageTypeInvalid,
|
|
21
|
+
/**
|
|
22
|
+
* The SecureChannelId and/or TokenId are not currently in use.
|
|
23
|
+
* This error is reported by the SecureChannel layer.
|
|
24
|
+
*/
|
|
25
|
+
BadTcpSecureChannelUnknown: node_opcua_status_code_1.StatusCodes.BadTcpSecureChannelUnknown,
|
|
26
|
+
/**
|
|
27
|
+
* The size of the Message specified in the header is too large.
|
|
28
|
+
* The Server returns this error if the Message size exceeds its maximum buffer size
|
|
29
|
+
* or the receive buffer size negotiated during the Hello/Acknowledge exchange.
|
|
30
|
+
*/
|
|
31
|
+
BadTcpMessageTooLarge: node_opcua_status_code_1.StatusCodes.BadTcpMessageTooLarge,
|
|
32
|
+
/**
|
|
33
|
+
* A timeout occurred while accessing a resource.
|
|
34
|
+
* It is up to the Server to determine when a timeout occurs.
|
|
35
|
+
*/
|
|
36
|
+
BadTimeout: node_opcua_status_code_1.StatusCodes.BadTimeout,
|
|
37
|
+
/**
|
|
38
|
+
* There are not enough resources to process the request.
|
|
39
|
+
* The Server returns this error when it runs out of memory or encounters similar resource problems.
|
|
40
|
+
* A Server can control the how frequently a Client reconnects by waiting to return this error.
|
|
41
|
+
*/
|
|
42
|
+
BadTcpNotEnoughResources: node_opcua_status_code_1.StatusCodes.BadTcpNotEnoughResources,
|
|
43
|
+
/**
|
|
44
|
+
* An internal error occurred.
|
|
45
|
+
* This should only be returned if an unexpected configuration or programming error occurs.
|
|
46
|
+
*/
|
|
47
|
+
BadTcpInternalError: node_opcua_status_code_1.StatusCodes.BadTcpInternalError,
|
|
48
|
+
/**
|
|
49
|
+
* The Server does not recognize the EndpointUrl specified.
|
|
50
|
+
*/
|
|
51
|
+
BadTcpEndpointUrlInvalid: node_opcua_status_code_1.StatusCodes.BadTcpEndpointUrlInvalid,
|
|
52
|
+
/**
|
|
53
|
+
* The Message was rejected because it could not be verified.
|
|
54
|
+
*/
|
|
55
|
+
BadSecurityChecksFailed: node_opcua_status_code_1.StatusCodes.BadSecurityChecksFailed,
|
|
56
|
+
/**
|
|
57
|
+
* The request could not be sent because of a network interruption.
|
|
58
|
+
*/
|
|
59
|
+
BadRequestInterrupted: node_opcua_status_code_1.StatusCodes.BadRequestInterrupted,
|
|
60
|
+
/**
|
|
61
|
+
* Timeout occurred while processing the request.
|
|
62
|
+
*/
|
|
63
|
+
BadRequestTimeout: node_opcua_status_code_1.StatusCodes.BadRequestTimeout,
|
|
64
|
+
/**
|
|
65
|
+
* The secure channel has been closed.
|
|
66
|
+
*/
|
|
67
|
+
BadSecureChannelClosed: node_opcua_status_code_1.StatusCodes.BadSecureChannelClosed,
|
|
68
|
+
/**
|
|
69
|
+
* The SecurityToken has expired or is not recognized. BadSecureChannelTokenUnknown
|
|
70
|
+
*/
|
|
71
|
+
BadSecureChannelTokenUnknown: node_opcua_status_code_1.StatusCodes.BadSecureChannelTokenUnknown,
|
|
72
|
+
/**
|
|
73
|
+
* The sender Certificate is not trusted by the receiver.
|
|
74
|
+
*/
|
|
75
|
+
BadCertificateUntrusted: node_opcua_status_code_1.StatusCodes.BadCertificateUntrusted,
|
|
76
|
+
/**
|
|
77
|
+
* The sender Certificate has expired or is not yet valid.
|
|
78
|
+
*/
|
|
79
|
+
BadCertificateTimeInvalid: node_opcua_status_code_1.StatusCodes.BadCertificateTimeInvalid,
|
|
80
|
+
/**
|
|
81
|
+
* The issuer for the sender Certificate has expired or is not yet valid.
|
|
82
|
+
*/
|
|
83
|
+
BadCertificateIssuerTimeInvalid: node_opcua_status_code_1.StatusCodes.BadCertificateIssuerTimeInvalid,
|
|
84
|
+
/**
|
|
85
|
+
* The sender’s Certificate may not be used for establishing a secure channel.
|
|
86
|
+
*/
|
|
87
|
+
BadCertificateUseNotAllowed: node_opcua_status_code_1.StatusCodes.BadCertificateUseNotAllowed,
|
|
88
|
+
/**
|
|
89
|
+
* The issuer Certificate may not be used as a Certificate Authority.
|
|
90
|
+
*/
|
|
91
|
+
BadCertificateIssuerUseNotAllowed: node_opcua_status_code_1.StatusCodes.BadCertificateIssuerUseNotAllowed,
|
|
92
|
+
/**
|
|
93
|
+
* Could not verify the revocation status of the sender’s Certificate.
|
|
94
|
+
*/
|
|
95
|
+
BadCertificateRevocationUnknown: node_opcua_status_code_1.StatusCodes.BadCertificateRevocationUnknown,
|
|
96
|
+
/**
|
|
97
|
+
* Could not verify the revocation status of the issuer Certificate.
|
|
98
|
+
*/
|
|
99
|
+
BadCertificateIssuerRevocationUnknown: node_opcua_status_code_1.StatusCodes.BadCertificateIssuerRevocationUnknown,
|
|
100
|
+
/**
|
|
101
|
+
* The sender Certificate has been revoked by the issuer.
|
|
102
|
+
*/
|
|
103
|
+
BadCertificateRevoked: node_opcua_status_code_1.StatusCodes.BadCertificateRevoked
|
|
104
|
+
/**The issuer Certificate has been revoked by its issuer.
|
|
105
|
+
*/
|
|
106
|
+
// todo BadIssuerCertificateRevoked: StatusCodes.BadIssuerCertificateRevoked,
|
|
107
|
+
/** The receiver Certificate thumbprint is not recognized by the receiver.
|
|
108
|
+
*/
|
|
109
|
+
// todo .. BadCertificateUnknown: StatusCodes.BadCertificateUnknown
|
|
110
|
+
};
|
|
111
111
|
//# sourceMappingURL=status_codes.js.map
|