forked from node-opcua/node-opcua
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.js
108 lines (84 loc) · 6.65 KB
/
index.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
"use strict";
require("requirish")._(module);
// common services
module.exports.structures = require("lib/datamodel/structures");
module.exports.parseEndpointUrl = require("lib/nodeopcua").parseEndpointUrl;
module.exports.resolveNodeId = require("lib/datamodel/nodeid").resolveNodeId;
module.exports.makeNodeId = require("lib/datamodel/nodeid").makeNodeId;
module.exports.coerceNodeId = require("lib/datamodel/nodeid").coerceNodeId;
module.exports.makeExpandedNodeId = require("lib/datamodel/expanded_nodeid").makeExpandedNodeId;
module.exports.coerceExpandedNodeId = require("lib/datamodel/expanded_nodeid").coerceExpandedNodeId;
module.exports.StatusCodes = require("lib/datamodel/opcua_status_code").StatusCodes;
module.exports.DataType = require("lib/datamodel/variant").DataType;
module.exports.DataValue = require("lib/datamodel/datavalue").DataValue;
module.exports.Variant = require("lib/datamodel/variant").Variant;
module.exports.VariantArrayType = require("lib/datamodel/variant").VariantArrayType;
module.exports.NodeId = require("lib/datamodel/nodeid").NodeId;
module.exports.NumericRange = require("lib/datamodel/numeric_range").NumericRange;
module.exports.AccessLevelFlag = require("lib/datamodel/access_level").AccessLevelFlag;
module.exports.LocalizedText = require("lib/datamodel/localized_text").LocalizedText;
module.exports.coerceLocalizedText = require("lib/datamodel/localized_text").coerceLocalizedText;
module.exports.QualifiedName = require("lib/datamodel/qualified_name").QualifiedName;
module.exports.coerceQualifyName = require("lib/datamodel/qualified_name").coerceQualifyName;
//
module.exports.get_fully_qualified_domain_name = require("lib/misc/hostname").get_fully_qualified_domain_name;
module.exports.makeApplicationUrn = require("lib/misc/applicationurn").makeApplicationUrn;
// services
module.exports.browse_service = require("lib/services/browse_service");
module.exports.read_service = require("lib/services/read_service");
module.exports.write_service = require("lib/services/write_service");
module.exports.call_service = require("lib/services/call_service");
module.exports.session_service = require("lib/services/session_service");
module.exports.get_endpoints_service = require("lib/services/get_endpoints_service");
module.exports.subscription_service = require("lib/services/subscription_service");
module.exports.historizing_service = require("lib/services/historizing_service");
module.exports.register_server_service = require("lib/services/register_server_service");
module.exports.secure_channel_service = require("lib/services/secure_channel_service");
module.exports.query_service = require("lib/services/query_service");
module.exports.node_managment_service = require("lib/services/node_management_service");
module.exports.EndpointDescription = module.exports.get_endpoints_service.EndpointDescription;
module.exports.utils = require("lib/misc/utils");
module.exports.AttributeIds = module.exports.read_service.AttributeIds;
module.exports.AttributeNameById = module.exports.read_service.AttributeNameById;
module.exports.VariableTypeIds = require("lib/opcua_node_ids").VariableTypeIds;
module.exports.VariableIds = require("lib/opcua_node_ids").VariableIds;
module.exports.MethodIds = require("lib/opcua_node_ids").MethodIds;
module.exports.ObjectIds = require("lib/opcua_node_ids").ObjectIds;
module.exports.ObjectTypeIds = require("lib/opcua_node_ids").ObjectTypeIds;
module.exports.ApplicationType = module.exports.get_endpoints_service.ApplicationType;
// client services
module.exports.OPCUAClient = require("lib/client/opcua_client").OPCUAClient;
module.exports.NodeCrawler = require("lib/client/node_crawler").NodeCrawler;
module.exports.ClientSubscription = require("lib/client/client_subscription").ClientSubscription;
module.exports.ClientSession = require("lib/client/opcua_client").ClientSession;
// Server services
module.exports.OPCUAServer = require("lib/server/opcua_server").OPCUAServer;
module.exports.ServerEngine = require("lib/server/server_engine").ServerEngine;
module.exports.generate_address_space = require("lib/address_space/load_nodeset2").generate_address_space;
module.exports.AddressSpace = require("lib/address_space/address_space").AddressSpace;
module.exports.ServerState = require("schemas/39394884f696ff0bf66bacc9a8032cc074e0158e/ServerState_enum").ServerState;
module.exports.SecurityPolicy = require("lib/misc/security_policy").SecurityPolicy;
module.exports.ServiceCounter = require("schemas/39394884f696ff0bf66bacc9a8032cc074e0158e/ServiceCounter").ServiceCounter;
module.exports.AnonymousIdentityToken = module.exports.session_service.AnonymousIdentityToken;
module.exports.UserNameIdentityToken = module.exports.session_service.UserNameIdentityToken;
//
module.exports.MessageSecurityMode = module.exports.get_endpoints_service.MessageSecurityMode;
// DA
module.exports.standardUnits = require("lib/data_access/EUInformation").standardUnits;
module.exports.makeEUInformation = require("lib/data_access/EUInformation").makeEUInformation;
//module.exports.addAnalogDataItem = require("lib/data_access/UAAnalogItem").addAnalogDataItem;
//module.exports.addTwoStateDiscreteType = require("lib/data_access/UATwoStateDiscreteType").addTwoStateDiscreteType;
//module.exports.addMultiStateDiscreteType = require("lib/data_access/UAMultiStateDiscreteType").addMultiStateDiscreteType;
//module.exports.addMultiStateValueDiscreteType = require("lib/data_access/UAMultiStateValueDiscreteType").addMultiStateValueDiscreteType;
//xx module.exports.addYArrayItem = require("lib/data_access/UAYArrayItem").addYArrayItem;
// version
module.exports.version = require("./package.json").version;
module.exports.standard_nodeset_file = require("lib/server/server_engine").standard_nodeset_file;
module.exports.di_nodeset_filename = require("lib/server/server_engine").di_nodeset_filename;
module.exports.adi_nodeset_filename = require("lib/server/server_engine").adi_nodeset_filename;
// an incomplete but sufficient nodeset file used during testing
module.exports.mini_nodeset_filename = require("lib/server/server_engine").mini_nodeset_filename;
module.exports.part8_nodeset_filename = require("lib/server/server_engine").part8_nodeset_filename;
module.exports.is_valid_endpointUrl = require("lib/nodeopcua").is_valid_endpointUrl;
module.exports.client_utils = require("lib/client/client_utils");
module.exports.DataTypeIds = require("lib/opcua_node_ids").DataTypeIds;