DOFConnectionConfigBuilderSecureDatagramsetDomains Method (ICollectionDOFDomainConfig)OpenDOF Object Access Library
Set the collection of static domains.

Namespace: org.opendof.core.oal
Assembly: dof-oal (in dof-oal.dll) Version: 7.0.1.2
Syntax

C#
public DOFConnectionConfigBuilderSecureDatagram setDomains(
	ICollection<DOFDomainConfig> domainConfigs
)

Parameters

domainConfigs
Type: System.Collections.GenericICollectionDOFDomainConfig
The domains to authorize. Null will be treated as an empty collection. Must not contain nulls.

Return Value

Type: DOFConnectionConfigBuilderSecureDatagram
The builder.
Remarks

Set the collection of static domains. Overwrites any previously added domains. See addDomains(Config[]) .

If these static routes fail to refresh, then the connection closes.

See Also

Reference