-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathua_types.idl
2247 lines (1964 loc) · 71.5 KB
/
ua_types.idl
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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
module UA {
// name clashes with IDL keywords are prevented by a "_" prefix
typedef boolean _Boolean;
union ListOfBoolean switch(boolean) { case true: sequence<_Boolean> Content; };
typedef char SByte ;
union ListOfSByte switch(boolean) { case true: sequence<SByte> Content; };
typedef octet Byte;
union ListOfByte switch(boolean) { case true: sequence<Byte> Content; };
typedef short Int16;
union ListOfInt16 switch(boolean) { case true: sequence<Int16> Content; };
typedef unsigned short UInt16;
union ListOfUInt16 switch(boolean) { case true: sequence<UInt16> Content; };
typedef long Int32;
union ListOfInt32 switch(boolean) { case true: sequence<Int32> Content; };
typedef long StatusCode;
union ListOfStatusCode switch(boolean) { case true: sequence<StatusCode> Content; };
typedef unsigned long UInt32;
union ListOfUInt32 switch(boolean) { case true: sequence<UInt32> Content; };
typedef long long Int64;
union ListOfInt64 switch(boolean) { case true: sequence<Int64> Content; };
typedef float _Float;
union ListOfFloat switch(boolean) { case true: sequence<_Float> Content; };
typedef float _Double;
union ListOfDouble switch(boolean) { case true: sequence<_Double> Content; };
typedef long long DateTime;
union ListOfDateTime switch(boolean) { case true: sequence<DateTime> Content; };
typedef unsigned long long UInt64;
union ListOfUInt64 switch(boolean) { case true: sequence<UInt64> Content; };
typedef ListOfByte _String;
union ListOfString switch(boolean) { case true: sequence<_String> Content; };
typedef ListOfByte ByteString;
union ListOfByteString switch(boolean) { case true: sequence<ByteString> Content; };
typedef ListOfByte XmlElement;
union ListOfXmlElement switch(boolean) { case true: sequence<XmlElement> Content; };
struct Guid {
UInt32 Data1;
UInt32 Data2;
UInt16 Data3;
Byte Data4[8];
};
union ListOfGuid switch(boolean) { case true: sequence<Guid> Content; };
enum NodeIdContent {
NodeIdContentNumeric,
NodeIdContentString,
NodeIdContentGuid,
NodeIdContentByteString
};
union NodeIdIdentifier switch(NodeIdContent) {
case NodeIdContentNumeric: UInt32 Numeric;
case NodeIdContentString: _String _String;
case NodeIdContentGuid: Guid Guid;
case NodeIdContentByteString: ByteString ByteString;
};
struct NodeId {
unsigned short NamespaceIndex;
NodeIdIdentifier Identifier;
};
union ListOfNodeId switch(boolean) { case true: sequence<NodeId> Content; };
struct ExpandedNodeId {
NodeId NodeId;
_String NamespaceUri;
UInt32 ServerIndex;
};
union ListOfExpandedNodeId switch(boolean) { case true: sequence<ExpandedNodeId> Content; };
struct QualifiedName {
UInt16 NamespaceIndex;
_String Name;
};
union ListOfQualifiedName switch(boolean) { case true: sequence<QualifiedName> Content; };
struct LocalizedText {
_String Locale;
_String Text;
};
union ListOfLocalizedText switch(boolean) { case true: sequence<LocalizedText> Content; };
enum ExtensionObjectBodyType {
ExtensionObjectBodyTypeNoBody,
ExtensionObjectBodyTypeByteString,
ExtensionObjectBodyTypeXml
};
union ExtensionObjectBody switch(ExtensionObjectBodyType) {
case ExtensionObjectBodyTypeByteString: ByteString ByteString;
case ExtensionObjectBodyTypeXml: XmlElement Xml;
};
struct ExtensionObject {
NodeId _TypeId;
ExtensionObjectBody Body;
};
union ListOfExtensionObject switch(boolean) { case true: sequence<ExtensionObject> Content; };
struct Variant; // forward declaration
union ListOfVariant switch(boolean) { case true: sequence<Variant> Content; };
struct DataValue {
sequence<Variant, 1> Value;
sequence<StatusCode, 1> Status;
sequence<DateTime, 1> SourceTimestamp;
sequence<UInt16, 1> SourcePicoseconds;
sequence<DateTime, 1> ServerTimestamp;
sequence<UInt16, 1> ServerPicoseconds;
};
union ListOfDataValue switch(boolean) { case true: sequence<DataValue> Content; };
struct DiagnosticInfo {
sequence<Int32, 1> SymbolicId;
sequence<Int32, 1> NamespaceUri;
sequence<Int32, 1> LocalizedText;
sequence<Int32, 1> Locale;
sequence<_String, 1> AdditionalInfo;
sequence<StatusCode, 1> InnerStatusCode;
sequence<DiagnosticInfo, 1> InnerDiagnosticInfo;
};
union ListOfDiagnosticInfo switch(boolean) { case true: sequence<DiagnosticInfo> Content; };
enum VariantContentType {
VariantContentTypeBoolean,
VariantContentTypeSByte,
VariantContentTypeByte,
VariantContentTypeInt16,
VariantContentTypeUInt16,
VariantContentTypeInt32,
VariantContentTypeUInt32,
VariantContentTypeFloat,
VariantContentTypeDouble,
VariantContentTypeString,
VariantContentTypeDateTime,
VariantContentTypeGuid,
VariantContentTypeByteString,
VariantContentTypeXmlElement,
VariantContentTypeNodeId,
VariantContentTypeExpandedNodeId,
VariantContentTypeStatusCode,
VariantContentTypeQualifiedName,
VariantContentTypeLocalizedText,
VariantContentTypeExtensionObject,
VariantContentTypeDataValue,
VariantContentTypeVariant,
VariantContentTypeDiagnosticInfo
};
union VariantContent switch(VariantContentType) {
case VariantContentTypeBoolean: ListOfBoolean _Boolean;
case VariantContentTypeSByte: ListOfSByte SByte;
case VariantContentTypeByte: ListOfByte Byte;
case VariantContentTypeInt16: ListOfInt16 Int16;
case VariantContentTypeUInt16: ListOfUInt16 UInt16;
case VariantContentTypeInt32: ListOfInt32 Int32;
case VariantContentTypeUInt32: ListOfUInt32 UInt32;
case VariantContentTypeFloat: ListOfFloat _Float;
case VariantContentTypeDouble: ListOfDouble _Double;
case VariantContentTypeString: ListOfString _String;
case VariantContentTypeDateTime: ListOfDateTime Datetime;
case VariantContentTypeGuid: ListOfGuid Guid;
case VariantContentTypeByteString: ListOfByteString ByteString;
case VariantContentTypeXmlElement: ListOfXmlElement Xmlelement;
case VariantContentTypeNodeId: ListOfNodeId NodeId;
case VariantContentTypeExpandedNodeId: ListOfExpandedNodeId ExpandedNodeId;
case VariantContentTypeStatusCode: ListOfStatusCode StatusCode;
case VariantContentTypeQualifiedName: ListOfQualifiedName QualifiedName;
case VariantContentTypeLocalizedText: ListOfLocalizedText LocalizedText;
case VariantContentTypeExtensionObject: ListOfExtensionObject ExtensionObject;
case VariantContentTypeDataValue: ListOfDataValue DataValue;
case VariantContentTypeVariant: ListOfVariant Variant;
case VariantContentTypeDiagnosticInfo: ListOfDiagnosticInfo DiagnosticInfo;
};
struct Variant {
_Boolean scalar; // force the VariantContent to contain just one element
VariantContent Content;
ListOfUInt32 ArrayDimensions;
};
enum NodeIdType {
NodeIdType_TwoByte,
NodeIdType_FourByte,
NodeIdType_Numeric,
NodeIdType_String,
NodeIdType_Guid,
NodeIdType_ByteString
};
union ListOfNodeIdType switch(boolean) { case true: sequence<NodeIdType> Content; };
typedef ByteString ImageBMP;
union ListOfImageBMP switch(boolean) { case true: sequence<ImageBMP> Content; };
typedef ByteString ImageGIF;
union ListOfImageGIF switch(boolean) { case true: sequence<ImageGIF> Content; };
typedef ByteString ImageJPG;
union ListOfImageJPG switch(boolean) { case true: sequence<ImageJPG> Content; };
typedef ByteString ImagePNG;
union ListOfImagePNG switch(boolean) { case true: sequence<ImagePNG> Content; };
typedef ByteString BitFieldMaskDataType;
union ListOfBitFieldMaskDataType switch(boolean) { case true: sequence<BitFieldMaskDataType> Content; };
enum OpenFileMode {
OpenFileMode_Read,
OpenFileMode_Write,
OpenFileMode_EraseExisiting,
OpenFileMode_Append
};
union ListOfOpenFileMode switch(boolean) { case true: sequence<OpenFileMode> Content; };
enum IdType {
IdType_Numeric,
IdType_String,
IdType_Guid,
IdType_Opaque
};
union ListOfIdType switch(boolean) { case true: sequence<IdType> Content; };
enum NodeClass {
NodeClass_Unspecified,
NodeClass_Object,
NodeClass_Variable,
NodeClass_Method,
NodeClass_ObjectType,
NodeClass_VariableType,
NodeClass_ReferenceType,
NodeClass_DataType,
NodeClass_View
};
union ListOfNodeClass switch(boolean) { case true: sequence<NodeClass> Content; };
struct ReferenceNode {
NodeId ReferenceTypeId;
Boolean IsInverse;
ExpandedNodeId TargetId;
};
union ListOfReferenceNode switch(boolean) { case true: sequence<ReferenceNode> Content; };
struct Argument {
String Name;
NodeId DataType;
Int32 ValueRank;
ListOfUInt32 ArrayDimensions;
LocalizedText Description;
};
union ListOfArgument switch(boolean) { case true: sequence<Argument> Content; };
struct EnumValueType {
Int64 Value;
LocalizedText DisplayName;
LocalizedText Description;
};
union ListOfEnumValueType switch(boolean) { case true: sequence<EnumValueType> Content; };
typedef ByteString Duration;
union ListOfDuration switch(boolean) { case true: sequence<Duration> Content; };
typedef ByteString UtcTime;
union ListOfUtcTime switch(boolean) { case true: sequence<UtcTime> Content; };
typedef ByteString LocaleId;
union ListOfLocaleId switch(boolean) { case true: sequence<LocaleId> Content; };
struct TimeZoneDataType {
Int16 Offset;
Boolean DaylightSavingInOffset;
};
union ListOfTimeZoneDataType switch(boolean) { case true: sequence<TimeZoneDataType> Content; };
typedef ByteString IntegerId;
union ListOfIntegerId switch(boolean) { case true: sequence<IntegerId> Content; };
enum ApplicationType {
ApplicationType_Server,
ApplicationType_Client,
ApplicationType_ClientAndServer,
ApplicationType_DiscoveryServer
};
union ListOfApplicationType switch(boolean) { case true: sequence<ApplicationType> Content; };
struct ApplicationDescription {
String ApplicationUri;
String ProductUri;
LocalizedText ApplicationName;
ApplicationType ApplicationType;
String GatewayServerUri;
String DiscoveryProfileUri;
ListOfString DiscoveryUrls;
};
union ListOfApplicationDescription switch(boolean) { case true: sequence<ApplicationDescription> Content; };
struct RequestHeader {
NodeId AuthenticationToken;
DateTime Timestamp;
UInt32 RequestHandle;
UInt32 ReturnDiagnostics;
String AuditEntryId;
UInt32 TimeoutHint;
ExtensionObject AdditionalHeader;
};
union ListOfRequestHeader switch(boolean) { case true: sequence<RequestHeader> Content; };
struct ResponseHeader {
DateTime Timestamp;
UInt32 RequestHandle;
StatusCode ServiceResult;
DiagnosticInfo ServiceDiagnostics;
ListOfString StringTable;
ExtensionObject AdditionalHeader;
};
union ListOfResponseHeader switch(boolean) { case true: sequence<ResponseHeader> Content; };
struct ServiceFault {
ResponseHeader ResponseHeader;
};
union ListOfServiceFault switch(boolean) { case true: sequence<ServiceFault> Content; };
struct FindServersRequest {
RequestHeader RequestHeader;
String EndpointUrl;
ListOfString LocaleIds;
ListOfString ServerUris;
};
union ListOfFindServersRequest switch(boolean) { case true: sequence<FindServersRequest> Content; };
struct FindServersResponse {
ResponseHeader ResponseHeader;
ListOfApplicationDescription Servers;
};
union ListOfFindServersResponse switch(boolean) { case true: sequence<FindServersResponse> Content; };
typedef ByteString ApplicationInstanceCertificate;
union ListOfApplicationInstanceCertificate switch(boolean) { case true: sequence<ApplicationInstanceCertificate> Content; };
enum MessageSecurityMode {
MessageSecurityMode_Invalid,
MessageSecurityMode_None,
MessageSecurityMode_Sign,
MessageSecurityMode_SignAndEncrypt
};
union ListOfMessageSecurityMode switch(boolean) { case true: sequence<MessageSecurityMode> Content; };
enum UserTokenType {
UserTokenType_Anonymous,
UserTokenType_UserName,
UserTokenType_Certificate,
UserTokenType_IssuedToken
};
union ListOfUserTokenType switch(boolean) { case true: sequence<UserTokenType> Content; };
struct UserTokenPolicy {
String PolicyId;
UserTokenType TokenType;
String IssuedTokenType;
String IssuerEndpointUrl;
String SecurityPolicyUri;
};
union ListOfUserTokenPolicy switch(boolean) { case true: sequence<UserTokenPolicy> Content; };
struct EndpointDescription {
String EndpointUrl;
ApplicationDescription Server;
ByteString ServerCertificate;
MessageSecurityMode SecurityMode;
String SecurityPolicyUri;
ListOfUserTokenPolicy UserIdentityTokens;
String TransportProfileUri;
Byte SecurityLevel;
};
union ListOfEndpointDescription switch(boolean) { case true: sequence<EndpointDescription> Content; };
struct GetEndpointsRequest {
RequestHeader RequestHeader;
String EndpointUrl;
ListOfString LocaleIds;
ListOfString ProfileUris;
};
union ListOfGetEndpointsRequest switch(boolean) { case true: sequence<GetEndpointsRequest> Content; };
struct GetEndpointsResponse {
ResponseHeader ResponseHeader;
ListOfEndpointDescription Endpoints;
};
union ListOfGetEndpointsResponse switch(boolean) { case true: sequence<GetEndpointsResponse> Content; };
struct RegisteredServer {
String ServerUri;
String ProductUri;
ListOfLocalizedText ServerNames;
ApplicationType ServerType;
String GatewayServerUri;
ListOfString DiscoveryUrls;
String SemaphoreFilePath;
Boolean IsOnline;
};
union ListOfRegisteredServer switch(boolean) { case true: sequence<RegisteredServer> Content; };
struct RegisterServerRequest {
RequestHeader RequestHeader;
RegisteredServer Server;
};
union ListOfRegisterServerRequest switch(boolean) { case true: sequence<RegisterServerRequest> Content; };
struct RegisterServerResponse {
ResponseHeader ResponseHeader;
};
union ListOfRegisterServerResponse switch(boolean) { case true: sequence<RegisterServerResponse> Content; };
enum SecurityTokenRequestType {
SecurityTokenRequestType_Issue,
SecurityTokenRequestType_Renew
};
union ListOfSecurityTokenRequestType switch(boolean) { case true: sequence<SecurityTokenRequestType> Content; };
struct ChannelSecurityToken {
UInt32 ChannelId;
UInt32 TokenId;
DateTime CreatedAt;
UInt32 RevisedLifetime;
};
union ListOfChannelSecurityToken switch(boolean) { case true: sequence<ChannelSecurityToken> Content; };
struct OpenSecureChannelRequest {
RequestHeader RequestHeader;
UInt32 ClientProtocolVersion;
SecurityTokenRequestType RequestType;
MessageSecurityMode SecurityMode;
ByteString ClientNonce;
UInt32 RequestedLifetime;
};
union ListOfOpenSecureChannelRequest switch(boolean) { case true: sequence<OpenSecureChannelRequest> Content; };
struct OpenSecureChannelResponse {
ResponseHeader ResponseHeader;
UInt32 ServerProtocolVersion;
ChannelSecurityToken SecurityToken;
ByteString ServerNonce;
};
union ListOfOpenSecureChannelResponse switch(boolean) { case true: sequence<OpenSecureChannelResponse> Content; };
struct CloseSecureChannelRequest {
RequestHeader RequestHeader;
};
union ListOfCloseSecureChannelRequest switch(boolean) { case true: sequence<CloseSecureChannelRequest> Content; };
struct CloseSecureChannelResponse {
ResponseHeader ResponseHeader;
};
union ListOfCloseSecureChannelResponse switch(boolean) { case true: sequence<CloseSecureChannelResponse> Content; };
struct SignedSoftwareCertificate {
ByteString CertificateData;
ByteString Signature;
};
union ListOfSignedSoftwareCertificate switch(boolean) { case true: sequence<SignedSoftwareCertificate> Content; };
typedef ByteString SessionAuthenticationToken;
union ListOfSessionAuthenticationToken switch(boolean) { case true: sequence<SessionAuthenticationToken> Content; };
struct SignatureData {
String Algorithm;
ByteString Signature;
};
union ListOfSignatureData switch(boolean) { case true: sequence<SignatureData> Content; };
struct CreateSessionRequest {
RequestHeader RequestHeader;
ApplicationDescription ClientDescription;
String ServerUri;
String EndpointUrl;
String SessionName;
ByteString ClientNonce;
ByteString ClientCertificate;
Double RequestedSessionTimeout;
UInt32 MaxResponseMessageSize;
};
union ListOfCreateSessionRequest switch(boolean) { case true: sequence<CreateSessionRequest> Content; };
struct CreateSessionResponse {
ResponseHeader ResponseHeader;
NodeId SessionId;
NodeId AuthenticationToken;
Double RevisedSessionTimeout;
ByteString ServerNonce;
ByteString ServerCertificate;
ListOfEndpointDescription ServerEndpoints;
ListOfSignedSoftwareCertificate ServerSoftwareCertificates;
SignatureData ServerSignature;
UInt32 MaxRequestMessageSize;
};
union ListOfCreateSessionResponse switch(boolean) { case true: sequence<CreateSessionResponse> Content; };
struct UserIdentityToken {
String PolicyId;
};
union ListOfUserIdentityToken switch(boolean) { case true: sequence<UserIdentityToken> Content; };
struct AnonymousIdentityToken {
String PolicyId;
};
union ListOfAnonymousIdentityToken switch(boolean) { case true: sequence<AnonymousIdentityToken> Content; };
struct UserNameIdentityToken {
String PolicyId;
String UserName;
ByteString Password;
String EncryptionAlgorithm;
};
union ListOfUserNameIdentityToken switch(boolean) { case true: sequence<UserNameIdentityToken> Content; };
struct X509IdentityToken {
String PolicyId;
ByteString CertificateData;
};
union ListOfX509IdentityToken switch(boolean) { case true: sequence<X509IdentityToken> Content; };
struct IssuedIdentityToken {
String PolicyId;
ByteString TokenData;
String EncryptionAlgorithm;
};
union ListOfIssuedIdentityToken switch(boolean) { case true: sequence<IssuedIdentityToken> Content; };
struct ActivateSessionRequest {
RequestHeader RequestHeader;
SignatureData ClientSignature;
ListOfSignedSoftwareCertificate ClientSoftwareCertificates;
ListOfString LocaleIds;
ExtensionObject UserIdentityToken;
SignatureData UserTokenSignature;
};
union ListOfActivateSessionRequest switch(boolean) { case true: sequence<ActivateSessionRequest> Content; };
struct ActivateSessionResponse {
ResponseHeader ResponseHeader;
ByteString ServerNonce;
ListOfStatusCode Results;
ListOfDiagnosticInfo DiagnosticInfos;
};
union ListOfActivateSessionResponse switch(boolean) { case true: sequence<ActivateSessionResponse> Content; };
struct CloseSessionRequest {
RequestHeader RequestHeader;
Boolean DeleteSubscriptions;
};
union ListOfCloseSessionRequest switch(boolean) { case true: sequence<CloseSessionRequest> Content; };
struct CloseSessionResponse {
ResponseHeader ResponseHeader;
};
union ListOfCloseSessionResponse switch(boolean) { case true: sequence<CloseSessionResponse> Content; };
struct CancelRequest {
RequestHeader RequestHeader;
UInt32 RequestHandle;
};
union ListOfCancelRequest switch(boolean) { case true: sequence<CancelRequest> Content; };
struct CancelResponse {
ResponseHeader ResponseHeader;
UInt32 CancelCount;
};
union ListOfCancelResponse switch(boolean) { case true: sequence<CancelResponse> Content; };
enum NodeAttributesMask {
NodeAttributesMask_None,
NodeAttributesMask_AccessLevel,
NodeAttributesMask_ArrayDimensions,
NodeAttributesMask_BrowseName,
NodeAttributesMask_ContainsNoLoops,
NodeAttributesMask_DataType,
NodeAttributesMask_Description,
NodeAttributesMask_DisplayName,
NodeAttributesMask_EventNotifier,
NodeAttributesMask_Executable,
NodeAttributesMask_Historizing,
NodeAttributesMask_InverseName,
NodeAttributesMask_IsAbstract,
NodeAttributesMask_MinimumSamplingInterval,
NodeAttributesMask_NodeClass,
NodeAttributesMask_NodeId,
NodeAttributesMask_Symmetric,
NodeAttributesMask_UserAccessLevel,
NodeAttributesMask_UserExecutable,
NodeAttributesMask_UserWriteMask,
NodeAttributesMask_ValueRank,
NodeAttributesMask_WriteMask,
NodeAttributesMask_Value,
NodeAttributesMask_All,
NodeAttributesMask_BaseNode,
NodeAttributesMask_Object,
NodeAttributesMask_ObjectTypeOrDataType,
NodeAttributesMask_Variable,
NodeAttributesMask_VariableType,
NodeAttributesMask_Method,
NodeAttributesMask_ReferenceType,
NodeAttributesMask_View
};
union ListOfNodeAttributesMask switch(boolean) { case true: sequence<NodeAttributesMask> Content; };
struct NodeAttributes {
UInt32 SpecifiedAttributes;
LocalizedText DisplayName;
LocalizedText Description;
UInt32 WriteMask;
UInt32 UserWriteMask;
};
union ListOfNodeAttributes switch(boolean) { case true: sequence<NodeAttributes> Content; };
struct ObjectAttributes {
UInt32 SpecifiedAttributes;
LocalizedText DisplayName;
LocalizedText Description;
UInt32 WriteMask;
UInt32 UserWriteMask;
Byte EventNotifier;
};
union ListOfObjectAttributes switch(boolean) { case true: sequence<ObjectAttributes> Content; };
struct VariableAttributes {
UInt32 SpecifiedAttributes;
LocalizedText DisplayName;
LocalizedText Description;
UInt32 WriteMask;
UInt32 UserWriteMask;
Variant Value;
NodeId DataType;
Int32 ValueRank;
ListOfUInt32 ArrayDimensions;
Byte AccessLevel;
Byte UserAccessLevel;
Double MinimumSamplingInterval;
Boolean Historizing;
};
union ListOfVariableAttributes switch(boolean) { case true: sequence<VariableAttributes> Content; };
struct MethodAttributes {
UInt32 SpecifiedAttributes;
LocalizedText DisplayName;
LocalizedText Description;
UInt32 WriteMask;
UInt32 UserWriteMask;
Boolean Executable;
Boolean UserExecutable;
};
union ListOfMethodAttributes switch(boolean) { case true: sequence<MethodAttributes> Content; };
struct ObjectTypeAttributes {
UInt32 SpecifiedAttributes;
LocalizedText DisplayName;
LocalizedText Description;
UInt32 WriteMask;
UInt32 UserWriteMask;
Boolean IsAbstract;
};
union ListOfObjectTypeAttributes switch(boolean) { case true: sequence<ObjectTypeAttributes> Content; };
struct VariableTypeAttributes {
UInt32 SpecifiedAttributes;
LocalizedText DisplayName;
LocalizedText Description;
UInt32 WriteMask;
UInt32 UserWriteMask;
Variant Value;
NodeId DataType;
Int32 ValueRank;
ListOfUInt32 ArrayDimensions;
Boolean IsAbstract;
};
union ListOfVariableTypeAttributes switch(boolean) { case true: sequence<VariableTypeAttributes> Content; };
struct ReferenceTypeAttributes {
UInt32 SpecifiedAttributes;
LocalizedText DisplayName;
LocalizedText Description;
UInt32 WriteMask;
UInt32 UserWriteMask;
Boolean IsAbstract;
Boolean Symmetric;
LocalizedText InverseName;
};
union ListOfReferenceTypeAttributes switch(boolean) { case true: sequence<ReferenceTypeAttributes> Content; };
struct DataTypeAttributes {
UInt32 SpecifiedAttributes;
LocalizedText DisplayName;
LocalizedText Description;
UInt32 WriteMask;
UInt32 UserWriteMask;
Boolean IsAbstract;
};
union ListOfDataTypeAttributes switch(boolean) { case true: sequence<DataTypeAttributes> Content; };
struct ViewAttributes {
UInt32 SpecifiedAttributes;
LocalizedText DisplayName;
LocalizedText Description;
UInt32 WriteMask;
UInt32 UserWriteMask;
Boolean ContainsNoLoops;
Byte EventNotifier;
};
union ListOfViewAttributes switch(boolean) { case true: sequence<ViewAttributes> Content; };
struct AddNodesItem {
ExpandedNodeId ParentNodeId;
NodeId ReferenceTypeId;
ExpandedNodeId RequestedNewNodeId;
QualifiedName BrowseName;
NodeClass NodeClass;
ExtensionObject NodeAttributes;
ExpandedNodeId TypeDefinition;
};
union ListOfAddNodesItem switch(boolean) { case true: sequence<AddNodesItem> Content; };
struct AddNodesResult {
StatusCode StatusCode;
NodeId AddedNodeId;
};
union ListOfAddNodesResult switch(boolean) { case true: sequence<AddNodesResult> Content; };
struct AddNodesRequest {
RequestHeader RequestHeader;
ListOfAddNodesItem NodesToAdd;
};
union ListOfAddNodesRequest switch(boolean) { case true: sequence<AddNodesRequest> Content; };
struct AddNodesResponse {
ResponseHeader ResponseHeader;
ListOfAddNodesResult Results;
ListOfDiagnosticInfo DiagnosticInfos;
};
union ListOfAddNodesResponse switch(boolean) { case true: sequence<AddNodesResponse> Content; };
struct AddReferencesItem {
NodeId SourceNodeId;
NodeId ReferenceTypeId;
Boolean IsForward;
String TargetServerUri;
ExpandedNodeId TargetNodeId;
NodeClass TargetNodeClass;
};
union ListOfAddReferencesItem switch(boolean) { case true: sequence<AddReferencesItem> Content; };
struct AddReferencesRequest {
RequestHeader RequestHeader;
ListOfAddReferencesItem ReferencesToAdd;
};
union ListOfAddReferencesRequest switch(boolean) { case true: sequence<AddReferencesRequest> Content; };
struct AddReferencesResponse {
ResponseHeader ResponseHeader;
ListOfStatusCode Results;
ListOfDiagnosticInfo DiagnosticInfos;
};
union ListOfAddReferencesResponse switch(boolean) { case true: sequence<AddReferencesResponse> Content; };
struct DeleteNodesItem {
NodeId NodeId;
Boolean DeleteTargetReferences;
};
union ListOfDeleteNodesItem switch(boolean) { case true: sequence<DeleteNodesItem> Content; };
struct DeleteNodesRequest {
RequestHeader RequestHeader;
ListOfDeleteNodesItem NodesToDelete;
};
union ListOfDeleteNodesRequest switch(boolean) { case true: sequence<DeleteNodesRequest> Content; };
struct DeleteNodesResponse {
ResponseHeader ResponseHeader;
ListOfStatusCode Results;
ListOfDiagnosticInfo DiagnosticInfos;
};
union ListOfDeleteNodesResponse switch(boolean) { case true: sequence<DeleteNodesResponse> Content; };
struct DeleteReferencesItem {
NodeId SourceNodeId;
NodeId ReferenceTypeId;
Boolean IsForward;
ExpandedNodeId TargetNodeId;
Boolean DeleteBidirectional;
};
union ListOfDeleteReferencesItem switch(boolean) { case true: sequence<DeleteReferencesItem> Content; };
struct DeleteReferencesRequest {
RequestHeader RequestHeader;
ListOfDeleteReferencesItem ReferencesToDelete;
};
union ListOfDeleteReferencesRequest switch(boolean) { case true: sequence<DeleteReferencesRequest> Content; };
struct DeleteReferencesResponse {
ResponseHeader ResponseHeader;
ListOfStatusCode Results;
ListOfDiagnosticInfo DiagnosticInfos;
};
union ListOfDeleteReferencesResponse switch(boolean) { case true: sequence<DeleteReferencesResponse> Content; };
enum AttributeWriteMask {
AttributeWriteMask_None,
AttributeWriteMask_AccessLevel,
AttributeWriteMask_ArrayDimensions,
AttributeWriteMask_BrowseName,
AttributeWriteMask_ContainsNoLoops,
AttributeWriteMask_DataType,
AttributeWriteMask_Description,
AttributeWriteMask_DisplayName,
AttributeWriteMask_EventNotifier,
AttributeWriteMask_Executable,
AttributeWriteMask_Historizing,
AttributeWriteMask_InverseName,
AttributeWriteMask_IsAbstract,
AttributeWriteMask_MinimumSamplingInterval,
AttributeWriteMask_NodeClass,
AttributeWriteMask_NodeId,
AttributeWriteMask_Symmetric,
AttributeWriteMask_UserAccessLevel,
AttributeWriteMask_UserExecutable,
AttributeWriteMask_UserWriteMask,
AttributeWriteMask_ValueRank,
AttributeWriteMask_WriteMask,
AttributeWriteMask_ValueForVariableType
};
union ListOfAttributeWriteMask switch(boolean) { case true: sequence<AttributeWriteMask> Content; };
enum BrowseDirection {
BrowseDirection_Forward,
BrowseDirection_Inverse,
BrowseDirection_Both
};
union ListOfBrowseDirection switch(boolean) { case true: sequence<BrowseDirection> Content; };
struct ViewDescription {
NodeId ViewId;
DateTime Timestamp;
UInt32 ViewVersion;
};
union ListOfViewDescription switch(boolean) { case true: sequence<ViewDescription> Content; };
struct BrowseDescription {
NodeId NodeId;
BrowseDirection BrowseDirection;
NodeId ReferenceTypeId;
Boolean IncludeSubtypes;
UInt32 NodeClassMask;
UInt32 ResultMask;
};
union ListOfBrowseDescription switch(boolean) { case true: sequence<BrowseDescription> Content; };
enum BrowseResultMask {
BrowseResultMask_None,
BrowseResultMask_ReferenceTypeId,
BrowseResultMask_IsForward,
BrowseResultMask_NodeClass,
BrowseResultMask_BrowseName,
BrowseResultMask_DisplayName,
BrowseResultMask_TypeDefinition,
BrowseResultMask_All,
BrowseResultMask_ReferenceTypeInfo,
BrowseResultMask_TargetInfo
};
union ListOfBrowseResultMask switch(boolean) { case true: sequence<BrowseResultMask> Content; };
struct ReferenceDescription {
NodeId ReferenceTypeId;
Boolean IsForward;
ExpandedNodeId NodeId;
QualifiedName BrowseName;
LocalizedText DisplayName;
NodeClass NodeClass;
ExpandedNodeId TypeDefinition;
};
union ListOfReferenceDescription switch(boolean) { case true: sequence<ReferenceDescription> Content; };
typedef ByteString ContinuationPoint;
union ListOfContinuationPoint switch(boolean) { case true: sequence<ContinuationPoint> Content; };
struct BrowseResult {
StatusCode StatusCode;
ByteString ContinuationPoint;
ListOfReferenceDescription References;
};
union ListOfBrowseResult switch(boolean) { case true: sequence<BrowseResult> Content; };
struct BrowseRequest {
RequestHeader RequestHeader;
ViewDescription View;
UInt32 RequestedMaxReferencesPerNode;
ListOfBrowseDescription NodesToBrowse;
};
union ListOfBrowseRequest switch(boolean) { case true: sequence<BrowseRequest> Content; };
struct BrowseResponse {
ResponseHeader ResponseHeader;
ListOfBrowseResult Results;
ListOfDiagnosticInfo DiagnosticInfos;
};
union ListOfBrowseResponse switch(boolean) { case true: sequence<BrowseResponse> Content; };
struct BrowseNextRequest {
RequestHeader RequestHeader;
Boolean ReleaseContinuationPoints;
ListOfByteString ContinuationPoints;
};
union ListOfBrowseNextRequest switch(boolean) { case true: sequence<BrowseNextRequest> Content; };
struct BrowseNextResponse {
ResponseHeader ResponseHeader;
ListOfBrowseResult Results;
ListOfDiagnosticInfo DiagnosticInfos;
};
union ListOfBrowseNextResponse switch(boolean) { case true: sequence<BrowseNextResponse> Content; };
struct RelativePathElement {
NodeId ReferenceTypeId;
Boolean IsInverse;
Boolean IncludeSubtypes;
QualifiedName TargetName;
};
union ListOfRelativePathElement switch(boolean) { case true: sequence<RelativePathElement> Content; };
struct RelativePath {
ListOfRelativePathElement Elements;
};
union ListOfRelativePath switch(boolean) { case true: sequence<RelativePath> Content; };
struct BrowsePath {
NodeId StartingNode;
RelativePath RelativePath;
};
union ListOfBrowsePath switch(boolean) { case true: sequence<BrowsePath> Content; };
struct BrowsePathTarget {
ExpandedNodeId TargetId;
UInt32 RemainingPathIndex;
};
union ListOfBrowsePathTarget switch(boolean) { case true: sequence<BrowsePathTarget> Content; };
struct BrowsePathResult {
StatusCode StatusCode;
ListOfBrowsePathTarget Targets;
};
union ListOfBrowsePathResult switch(boolean) { case true: sequence<BrowsePathResult> Content; };
struct TranslateBrowsePathsToNodeIdsRequest {
RequestHeader RequestHeader;
ListOfBrowsePath BrowsePaths;
};
union ListOfTranslateBrowsePathsToNodeIdsRequest switch(boolean) { case true: sequence<TranslateBrowsePathsToNodeIdsRequest> Content; };
struct TranslateBrowsePathsToNodeIdsResponse {
ResponseHeader ResponseHeader;
ListOfBrowsePathResult Results;
ListOfDiagnosticInfo DiagnosticInfos;
};
union ListOfTranslateBrowsePathsToNodeIdsResponse switch(boolean) { case true: sequence<TranslateBrowsePathsToNodeIdsResponse> Content; };
struct RegisterNodesRequest {
RequestHeader RequestHeader;
ListOfNodeId NodesToRegister;
};
union ListOfRegisterNodesRequest switch(boolean) { case true: sequence<RegisterNodesRequest> Content; };
struct RegisterNodesResponse {
ResponseHeader ResponseHeader;
ListOfNodeId RegisteredNodeIds;
};
union ListOfRegisterNodesResponse switch(boolean) { case true: sequence<RegisterNodesResponse> Content; };
struct UnregisterNodesRequest {
RequestHeader RequestHeader;
ListOfNodeId NodesToUnregister;
};
union ListOfUnregisterNodesRequest switch(boolean) { case true: sequence<UnregisterNodesRequest> Content; };
struct UnregisterNodesResponse {
ResponseHeader ResponseHeader;
};
union ListOfUnregisterNodesResponse switch(boolean) { case true: sequence<UnregisterNodesResponse> Content; };