.NET Based OPC UA Client/Server SDK
2.6.4.435
|
Reads objects from a XML stream. More...
Inherits UnifiedAutomation.UaBase.IDecoder, and IDisposable.
Public Member Functions | |
XmlDecoder (MessageContext context) | |
Initializes the object with default values. More... | |
XmlDecoder (XmlElement element, MessageContext context) | |
Initializes the object with an XML element to parse. More... | |
XmlDecoder (System.Type systemType, XmlReader reader, MessageContext context) | |
Initializes the object with a XML reader. More... | |
void | SetMappingTables (NamespaceTable namespaceUris, StringTable serverUris) |
Initializes the tables used to map namespace and server uris during decoding. More... | |
bool | LoadStringTable (string tableName, string elementName, StringTable stringTable) |
Initializes a string table from an XML stream. More... | |
void | Close () |
Closes the stream used for reading. More... | |
void | Close (bool checkEof) |
Closes the stream used for reading. More... | |
XmlQualifiedName | Peek (XmlNodeType nodeType) |
Returns the qualified name for the next element in the stream. More... | |
bool | Peek (string fieldName) |
Returns true if the specified field is the next element to be extracted. More... | |
void | ReadStartElement () |
Returns the qualified name for the next element in the stream. More... | |
void | Skip (XmlQualifiedName qname) |
Skips to the end of the specified element. More... | |
object | ReadVariantContents (out TypeInfo typeInfo) |
Reads the contents of an Variant object. More... | |
object | ReadExtensionObjectBody (ExpandedNodeId typeId) |
Reads the body extension object from the stream. More... | |
void | Dispose () |
Frees any unmanaged resources. More... | |
void | PushNamespace (string namespaceUri) |
Pushes a namespace onto the namespace stack. More... | |
void | PopNamespace () |
Pops a namespace from the namespace stack. More... | |
bool | ReadBoolean (string fieldName) |
Reads a boolean from the stream. More... | |
sbyte | ReadSByte (string fieldName) |
Reads a sbyte from the stream. More... | |
byte | ReadByte (string fieldName) |
Reads a byte from the stream. More... | |
short | ReadInt16 (string fieldName) |
Reads a short from the stream. More... | |
ushort | ReadUInt16 (string fieldName) |
Reads a ushort from the stream. More... | |
int | ReadInt32 (string fieldName) |
Reads an int from the stream. More... | |
uint | ReadUInt32 (string fieldName) |
Reads a uint from the stream. More... | |
long | ReadInt64 (string fieldName) |
Reads a long from the stream. More... | |
ulong | ReadUInt64 (string fieldName) |
Reads a ulong from the stream. More... | |
float | ReadFloat (string fieldName) |
Reads a float from the stream. More... | |
double | ReadDouble (string fieldName) |
Reads a double from the stream. More... | |
string | ReadString (string fieldName) |
Reads a string from the stream. More... | |
DateTime | ReadDateTime (string fieldName) |
Reads a UTC date/time from the stream. More... | |
Uuid | ReadGuid (string fieldName) |
Reads a GUID from the stream. More... | |
byte[] | ReadByteString (string fieldName) |
Reads a byte string from the stream. More... | |
XmlElement | ReadXmlElement (string fieldName) |
Reads an XmlElement from the stream. More... | |
NodeId | ReadNodeId (string fieldName) |
Reads an NodeId from the stream. More... | |
ExpandedNodeId | ReadExpandedNodeId (string fieldName) |
Reads an ExpandedNodeId from the stream. More... | |
StatusCode | ReadStatusCode (string fieldName) |
Reads an StatusCode from the stream. More... | |
DiagnosticInfo | ReadDiagnosticInfo (string fieldName) |
Reads an DiagnosticInfo from the stream. More... | |
DiagnosticInfo | ReadDiagnosticInfo () |
Reads an DiagnosticInfo from the stream. More... | |
QualifiedName | ReadQualifiedName (string fieldName) |
Reads an QualifiedName from the stream. More... | |
LocalizedText | ReadLocalizedText (string fieldName) |
Reads an LocalizedText from the stream. More... | |
Variant | ReadVariant (string fieldName) |
Reads an Variant from the stream. More... | |
DataValue | ReadDataValue (string fieldName) |
Reads an DataValue from the stream. More... | |
ExtensionObject | ReadExtensionObject (string fieldName) |
Reads an extension object from the stream. More... | |
IEncodeable | ReadEncodeable (string fieldName, System.Type systemType) |
Reads an encodeable object from the stream. More... | |
IEncodeable | ReadGenericEncodeable (string fieldName, GenericStructureDataType genericType) |
Reads an encodeable object from the stream. More... | |
Enum | ReadEnumerated (string fieldName, System.Type enumType) |
Reads an enumerated value from the stream. More... | |
BooleanCollection | ReadBooleanArray (string fieldName) |
Reads a boolean array from the stream. More... | |
SByteCollection | ReadSByteArray (string fieldName) |
Reads a sbyte array from the stream. More... | |
ByteCollection | ReadByteArray (string fieldName) |
Reads a byte array from the stream. More... | |
Int16Collection | ReadInt16Array (string fieldName) |
Reads a short array from the stream. More... | |
UInt16Collection | ReadUInt16Array (string fieldName) |
Reads a ushort array from the stream. More... | |
Int32Collection | ReadInt32Array (string fieldName) |
Reads a int array from the stream. More... | |
UInt32Collection | ReadUInt32Array (string fieldName) |
Reads a uint array from the stream. More... | |
Int64Collection | ReadInt64Array (string fieldName) |
Reads a long array from the stream. More... | |
UInt64Collection | ReadUInt64Array (string fieldName) |
Reads a ulong array from the stream. More... | |
FloatCollection | ReadFloatArray (string fieldName) |
Reads a float array from the stream. More... | |
DoubleCollection | ReadDoubleArray (string fieldName) |
Reads a double array from the stream. More... | |
StringCollection | ReadStringArray (string fieldName) |
Reads a string array from the stream. More... | |
DateTimeCollection | ReadDateTimeArray (string fieldName) |
Reads a UTC date/time array from the stream. More... | |
UuidCollection | ReadGuidArray (string fieldName) |
Reads a GUID array from the stream. More... | |
ByteStringCollection | ReadByteStringArray (string fieldName) |
Reads a byte string array from the stream. More... | |
XmlElementCollection | ReadXmlElementArray (string fieldName) |
Reads an XmlElement array from the stream. More... | |
NodeIdCollection | ReadNodeIdArray (string fieldName) |
Reads an NodeId array from the stream. More... | |
ExpandedNodeIdCollection | ReadExpandedNodeIdArray (string fieldName) |
Reads an ExpandedNodeId array from the stream. More... | |
StatusCodeCollection | ReadStatusCodeArray (string fieldName) |
Reads an StatusCode array from the stream. More... | |
DiagnosticInfoCollection | ReadDiagnosticInfoArray (string fieldName) |
Reads an DiagnosticInfo array from the stream. More... | |
QualifiedNameCollection | ReadQualifiedNameArray (string fieldName) |
Reads an QualifiedName array from the stream. More... | |
LocalizedTextCollection | ReadLocalizedTextArray (string fieldName) |
Reads an LocalizedText array from the stream. More... | |
VariantCollection | ReadVariantArray (string fieldName) |
Reads an Variant array from the stream. More... | |
DataValueCollection | ReadDataValueArray (string fieldName) |
Reads an DataValue array from the stream. More... | |
ExtensionObjectCollection | ReadExtensionObjectArray (string fieldName) |
Reads an array of extension objects from the stream. More... | |
Array | ReadEncodeableArray (string fieldName, System.Type systemType) |
Reads an encodeable object array from the stream. More... | |
Array | ReadGenericEncodeableArray (string fieldName, GenericStructureDataType genericType) |
Reads an encodeable object array from the stream. More... | |
Array | ReadEnumeratedArray (string fieldName, System.Type enumType) |
Reads an enumerated value array from the stream. More... | |
Protected Member Functions | |
virtual void | Dispose (bool disposing) |
An overrideable version of the Dispose. More... | |
Properties | |
EncodingType | EncodingType [get] |
The type of encoding being used. More... | |
MessageContext | Context [get] |
The message context associated with the decoder. More... | |
Properties inherited from UnifiedAutomation.UaBase.IDecoder | |
EncodingType | EncodingType [get] |
The type of encoding being used. More... | |
MessageContext | Context [get] |
The message context associated with the decoder. More... | |
Reads objects from a XML stream.
|
inline |
Initializes the object with default values.
|
inline |
Initializes the object with an XML element to parse.
|
inline |
Initializes the object with a XML reader.
|
inline |
Closes the stream used for reading.
|
inline |
Closes the stream used for reading.
|
inline |
Frees any unmanaged resources.
|
inlineprotectedvirtual |
An overrideable version of the Dispose.
|
inline |
Initializes a string table from an XML stream.
tableName | Name of the table. |
elementName | Name of the element. |
stringTable | The string table. |
|
inline |
Returns the qualified name for the next element in the stream.
|
inline |
Returns true if the specified field is the next element to be extracted.
|
inline |
Pops a namespace from the namespace stack.
Implements UnifiedAutomation.UaBase.IDecoder.
|
inline |
Pushes a namespace onto the namespace stack.
Implements UnifiedAutomation.UaBase.IDecoder.
|
inline |
Reads a boolean from the stream.
Implements UnifiedAutomation.UaBase.IDecoder.
|
inline |
Reads a boolean array from the stream.
Implements UnifiedAutomation.UaBase.IDecoder.
|
inline |
Reads a byte from the stream.
Implements UnifiedAutomation.UaBase.IDecoder.
|
inline |
Reads a byte array from the stream.
Implements UnifiedAutomation.UaBase.IDecoder.
|
inline |
Reads a byte string from the stream.
Implements UnifiedAutomation.UaBase.IDecoder.
|
inline |
Reads a byte string array from the stream.
Implements UnifiedAutomation.UaBase.IDecoder.
|
inline |
Reads an DataValue from the stream.
Implements UnifiedAutomation.UaBase.IDecoder.
|
inline |
Reads an DataValue array from the stream.
Implements UnifiedAutomation.UaBase.IDecoder.
|
inline |
Reads a UTC date/time from the stream.
Implements UnifiedAutomation.UaBase.IDecoder.
|
inline |
Reads a UTC date/time array from the stream.
Implements UnifiedAutomation.UaBase.IDecoder.
|
inline |
Reads an DiagnosticInfo from the stream.
Implements UnifiedAutomation.UaBase.IDecoder.
|
inline |
Reads an DiagnosticInfo from the stream.
|
inline |
Reads an DiagnosticInfo array from the stream.
Implements UnifiedAutomation.UaBase.IDecoder.
|
inline |
Reads a double from the stream.
Implements UnifiedAutomation.UaBase.IDecoder.
|
inline |
Reads a double array from the stream.
Implements UnifiedAutomation.UaBase.IDecoder.
|
inline |
Reads an encodeable object from the stream.
Implements UnifiedAutomation.UaBase.IDecoder.
|
inline |
Reads an encodeable object array from the stream.
Implements UnifiedAutomation.UaBase.IDecoder.
|
inline |
Reads an enumerated value from the stream.
Implements UnifiedAutomation.UaBase.IDecoder.
|
inline |
Reads an enumerated value array from the stream.
Implements UnifiedAutomation.UaBase.IDecoder.
|
inline |
Reads an ExpandedNodeId from the stream.
Implements UnifiedAutomation.UaBase.IDecoder.
|
inline |
Reads an ExpandedNodeId array from the stream.
Implements UnifiedAutomation.UaBase.IDecoder.
|
inline |
Reads an extension object from the stream.
Implements UnifiedAutomation.UaBase.IDecoder.
|
inline |
Reads an array of extension objects from the stream.
Implements UnifiedAutomation.UaBase.IDecoder.
|
inline |
Reads the body extension object from the stream.
|
inline |
Reads a float from the stream.
Implements UnifiedAutomation.UaBase.IDecoder.
|
inline |
Reads a float array from the stream.
Implements UnifiedAutomation.UaBase.IDecoder.
|
inline |
Reads an encodeable object from the stream.
Implements UnifiedAutomation.UaBase.IDecoder.
|
inline |
Reads an encodeable object array from the stream.
Implements UnifiedAutomation.UaBase.IDecoder.
|
inline |
Reads a GUID from the stream.
Implements UnifiedAutomation.UaBase.IDecoder.
|
inline |
Reads a GUID array from the stream.
Implements UnifiedAutomation.UaBase.IDecoder.
|
inline |
Reads a short from the stream.
Implements UnifiedAutomation.UaBase.IDecoder.
|
inline |
Reads a short array from the stream.
Implements UnifiedAutomation.UaBase.IDecoder.
|
inline |
Reads an int from the stream.
Implements UnifiedAutomation.UaBase.IDecoder.
|
inline |
Reads a int array from the stream.
Implements UnifiedAutomation.UaBase.IDecoder.
|
inline |
Reads a long from the stream.
Implements UnifiedAutomation.UaBase.IDecoder.
|
inline |
Reads a long array from the stream.
Implements UnifiedAutomation.UaBase.IDecoder.
|
inline |
Reads an LocalizedText from the stream.
Implements UnifiedAutomation.UaBase.IDecoder.
|
inline |
Reads an LocalizedText array from the stream.
Implements UnifiedAutomation.UaBase.IDecoder.
|
inline |
Reads an NodeId from the stream.
Implements UnifiedAutomation.UaBase.IDecoder.
|
inline |
Reads an NodeId array from the stream.
Implements UnifiedAutomation.UaBase.IDecoder.
|
inline |
Reads an QualifiedName from the stream.
Implements UnifiedAutomation.UaBase.IDecoder.
|
inline |
Reads an QualifiedName array from the stream.
Implements UnifiedAutomation.UaBase.IDecoder.
|
inline |
Reads a sbyte from the stream.
Implements UnifiedAutomation.UaBase.IDecoder.
|
inline |
Reads a sbyte array from the stream.
Implements UnifiedAutomation.UaBase.IDecoder.
|
inline |
Returns the qualified name for the next element in the stream.
|
inline |
Reads an StatusCode from the stream.
Implements UnifiedAutomation.UaBase.IDecoder.
|
inline |
Reads an StatusCode array from the stream.
Implements UnifiedAutomation.UaBase.IDecoder.
|
inline |
Reads a string from the stream.
Implements UnifiedAutomation.UaBase.IDecoder.
|
inline |
Reads a string array from the stream.
Implements UnifiedAutomation.UaBase.IDecoder.
|
inline |
Reads a ushort from the stream.
Implements UnifiedAutomation.UaBase.IDecoder.
|
inline |
Reads a ushort array from the stream.
Implements UnifiedAutomation.UaBase.IDecoder.
|
inline |
Reads a uint from the stream.
Implements UnifiedAutomation.UaBase.IDecoder.
|
inline |
Reads a uint array from the stream.
Implements UnifiedAutomation.UaBase.IDecoder.
|
inline |
Reads a ulong from the stream.
Implements UnifiedAutomation.UaBase.IDecoder.
|
inline |
Reads a ulong array from the stream.
Implements UnifiedAutomation.UaBase.IDecoder.
|
inline |
Reads an Variant from the stream.
Implements UnifiedAutomation.UaBase.IDecoder.
|
inline |
Reads an Variant array from the stream.
Implements UnifiedAutomation.UaBase.IDecoder.
|
inline |
Reads the contents of an Variant object.
|
inline |
Reads an XmlElement from the stream.
Implements UnifiedAutomation.UaBase.IDecoder.
|
inline |
Reads an XmlElement array from the stream.
Implements UnifiedAutomation.UaBase.IDecoder.
|
inline |
Initializes the tables used to map namespace and server uris during decoding.
namespaceUris | The namespaces URIs referenced by the data being decoded. |
serverUris | The server URIs referenced by the data being decoded. |
|
inline |
Skips to the end of the specified element.
qname | The qualified name of the element to skip. |
|
get |
The message context associated with the decoder.
|
get |
The type of encoding being used.