Connectivity Software User's Guide and Reference
Satisfies Method (UAPubSubLocators)



OpcLabs.EasyOpcUAPrimitives Assembly > OpcLabs.EasyOpc.UA.PubSub Namespace > UAPubSubLocators Class : Satisfies Method
The dataset subscription descriptor containing the requirements to check against.

The value of this parameter cannot be null (Nothing in Visual Basic).

The name of the message mapping being used (e.g., "Json", "Uadp").

The value of this parameter cannot be null (Nothing in Visual Basic).

Determines whether these PubSub locators satisfy the requirements specified in a dataset subscription descriptor.
Syntax
'Declaration
 
Public Function Satisfies( _
   ByVal dataSetSubscriptionDescriptor As UADataSetSubscriptionDescriptor, _
   ByVal messageMappingName As String _
) As Boolean
'Usage
 
Dim instance As UAPubSubLocators
Dim dataSetSubscriptionDescriptor As UADataSetSubscriptionDescriptor
Dim messageMappingName As String
Dim value As Boolean
 
value = instance.Satisfies(dataSetSubscriptionDescriptor, messageMappingName)

Parameters

dataSetSubscriptionDescriptor
The dataset subscription descriptor containing the requirements to check against.

The value of this parameter cannot be null (Nothing in Visual Basic).

messageMappingName
The name of the message mapping being used (e.g., "Json", "Uadp").

The value of this parameter cannot be null (Nothing in Visual Basic).

Return Value

true if these locators satisfy all requirements in the descriptor; otherwise, false.
Remarks

This method checks whether the locators match the subscription descriptor by comparing the publisher ID, writer group ID, dataset writer ID, writer group name, and dataset writer name. All specified criteria must match for the method to return true. Publisher ID comparison varies based on the message mapping - for JSON, string representation is compared; for others, direct comparison is used.

Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also