The ServerAddressType is a subtype of the BaseVariableType and holds the information to be used for locating Servers. An instance of ServerAddressType describes the attributes to be applied to open secure communication to the Server. Multiple Connections may refer to the same instance of ServerAddressType.

The ServerAddressType is illustrated in Figure 52.

image055.png

Figure 52 – ServerAddressType illustration

The ServerAddressType is formally defined in Table 111.

Table 111 – ServerAddressType definition

Attribute

Value

BrowseName

4:ServerAddressType

IsAbstract

False

ValueRank

−1 (−1 = Scalar)

DataType

ServerAddressDataType

References

NodeClass

BrowseName

DataType

TypeDefinition

Other

Subtype of the 0:BaseDataVariableType defined in OPC 10000-5

0:HasComponent

Variable

4:Address

0:UriString

0:SelectionListType

M

0:HasComponent

Variable

4:SecurityMode

0:MessageSecurityMode

0:SelectionListType

M

0:HasComponent

Variable

4:SecurityPolicyUri

0:String

0:SelectionListType

M

0:HasComponent

Variable

4:ServerUri

0:UriString

0:SelectionListType

M

ConformanceUnits

UAFX ConnectionManager Base

Address is specified as a DiscoveryUrl in the form

scheme://hostname[:port][/path]

as defined in OPC 10000-12. The SelectionListType (see 6.8.1) provides the option for an end user to either select or enter a DiscoveryUrl. As described in OPC 10000-4, a hostname may be an IP address or a name that would need to be resolved to an IP address. A ConnectionManager shall be able to resolve a name to an IP address. Any selected Address will be reflected in the ServerAddressDataType structure, which will be used for Connection establishment.

SecurityMode is the MessageSecurityMode to be used for establishing a secure communication to the Address. The SelectionListType (see 6.8.1) will provide the supported SecurityModes for this Connection. RestrictToList shall be set to TRUE. Any selected SecurityMode will be reflected in the ServerAddressDataType structure, which will be used for Connection establishment.

SecurityPolicyUri is a string that contains the security policy to use when establishing the secure communication. The SelectionListType (see 6.8.1) will provide the supported SecurityPolicyUris for this Connection. RestrictToList shall be set to TRUE. Any selected SecurityPolicyUri will be reflected in the ServerAddressDataType structure, which will be used for Connection establishment.

ServerUri is a string that reflects the ApplicationUri of the Server. It can be used to cryptographically verify the Server. The SelectionListType (see 6.8.1) provides the option for an end user to either select or enter a ServerUri. Any selected ServerUri will be reflected in the ServerAddressDataType structure, which will be used in Connection establishment. The ServerUri can also be a null string, in which case it will not be used to validate the Server.