public static void encode(WriteResponse writeResponse, UaEncoder encoder) { encoder.encodeSerializable( "ResponseHeader", writeResponse._responseHeader != null ? writeResponse._responseHeader : new ResponseHeader()); encoder.encodeArray("Results", writeResponse._results, encoder::encodeStatusCode); encoder.encodeArray( "DiagnosticInfos", writeResponse._diagnosticInfos, encoder::encodeDiagnosticInfo); }
public static void encode(ArrayTestType arrayTestType, UaEncoder encoder) { encoder.encodeArray("Booleans", arrayTestType._booleans, encoder::encodeBoolean); encoder.encodeArray("SBytes", arrayTestType._sBytes, encoder::encodeSByte); encoder.encodeArray("Int16s", arrayTestType._int16s, encoder::encodeInt16); encoder.encodeArray("UInt16s", arrayTestType._uInt16s, encoder::encodeUInt16); encoder.encodeArray("Int32s", arrayTestType._int32s, encoder::encodeInt32); encoder.encodeArray("UInt32s", arrayTestType._uInt32s, encoder::encodeUInt32); encoder.encodeArray("Int64s", arrayTestType._int64s, encoder::encodeInt64); encoder.encodeArray("UInt64s", arrayTestType._uInt64s, encoder::encodeUInt64); encoder.encodeArray("Floats", arrayTestType._floats, encoder::encodeFloat); encoder.encodeArray("Doubles", arrayTestType._doubles, encoder::encodeDouble); encoder.encodeArray("Strings", arrayTestType._strings, encoder::encodeString); encoder.encodeArray("DateTimes", arrayTestType._dateTimes, encoder::encodeDateTime); encoder.encodeArray("Guids", arrayTestType._guids, encoder::encodeGuid); encoder.encodeArray("ByteStrings", arrayTestType._byteStrings, encoder::encodeByteString); encoder.encodeArray("XmlElements", arrayTestType._xmlElements, encoder::encodeXmlElement); encoder.encodeArray("NodeIds", arrayTestType._nodeIds, encoder::encodeNodeId); encoder.encodeArray( "ExpandedNodeIds", arrayTestType._expandedNodeIds, encoder::encodeExpandedNodeId); encoder.encodeArray("StatusCodes", arrayTestType._statusCodes, encoder::encodeStatusCode); encoder.encodeArray( "DiagnosticInfos", arrayTestType._diagnosticInfos, encoder::encodeDiagnosticInfo); encoder.encodeArray( "QualifiedNames", arrayTestType._qualifiedNames, encoder::encodeQualifiedName); encoder.encodeArray( "LocalizedTexts", arrayTestType._localizedTexts, encoder::encodeLocalizedText); encoder.encodeArray( "ExtensionObjects", arrayTestType._extensionObjects, encoder::encodeExtensionObject); encoder.encodeArray("DataValues", arrayTestType._dataValues, encoder::encodeDataValue); encoder.encodeArray("Variants", arrayTestType._variants, encoder::encodeVariant); encoder.encodeArray( "EnumeratedValues", arrayTestType._enumeratedValues, encoder::encodeEnumeration); }
public static void encode(EndpointUrlListDataType endpointUrlListDataType, UaEncoder encoder) { encoder.encodeArray( "EndpointUrlList", endpointUrlListDataType._endpointUrlList, encoder::encodeString); }