Creates a
DOFDomain
that uses the specified configuration. The DOFDomain can be used to monitor connectivity to a
secure domain's Authentication Server.
The internal library tracks references to duplicate domains, so this method can safely be called multiple times with the
same configuration without consuming extra resources. Multiple references to a DOFDomain can easily occur, because the library automatically creates
DOFDomain instances when you pass a DOFDomain.Config in the following methods:
- Builder.addDomain(Config)
- Builder.addDomains(Config[])
- DOFConnection.addDomain(Config)
- Builder.addDomain(Config)
- Builder.addDomains(Config[])
Namespace: org.opendof.core.oal
Assembly: dof-oal (in dof-oal.dll) Version: 7.0.1.2
Syntax
C#
public DOFDomain createDomain( DOFDomainConfig config )
Parameters
- config
- Type: org.opendof.core.oalDOFDomainConfig
An instance of Config that represents a source of configuration parameters for the DOFDomain. Use Builder to create an instance of DOFDomain.Config. This must not be null.
Return Value
Type: DOFDomainA new instance of DOFDomain. The return value will be null if the configuration is invalid or the DOFDomain could not be created.
See Also