From 9060c411cf53a877cb9158b64ef846056ac5f5d7 Mon Sep 17 00:00:00 2001 From: Eugene Denisenko Date: Fri, 26 Apr 2019 17:35:19 +0300 Subject: [PATCH] ExtensionObject For DataChangeNotification --- ua/extension_object.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ua/extension_object.go b/ua/extension_object.go index b1e69da9..7213e415 100644 --- a/ua/extension_object.go +++ b/ua/extension_object.go @@ -74,6 +74,8 @@ func (e *ExtensionObject) Decode(b []byte) (int, error) { e.Value = new(IssuedIdentityToken) case id.ServerStatusDataType_Encoding_DefaultBinary: e.Value = new(ServerStatusDataType) + case id.DataChangeNotification_Encoding_DefaultBinary: + e.Value = new(DataChangeNotification) default: return buf.Pos(), fmt.Errorf("invalid extension object 0x%x", e.TypeID.NodeID.IntID()) }