Skip to content

Commit

Permalink
Merge pull request #178 from wsnotify/DataChangeNotification
Browse files Browse the repository at this point in the history
ExtensionObject For DataChangeNotification
  • Loading branch information
magiconair authored Apr 26, 2019
2 parents a66e123 + 9060c41 commit 5f710d7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ua/extension_object.go
Original file line number Diff line number Diff line change
Expand Up @@ -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())
}
Expand Down

0 comments on commit 5f710d7

Please sign in to comment.