DOFConnectionConfigBuilder ClassOpenDOF Object Access Library
This class creates connection configurations.
Inheritance Hierarchy

SystemObject
  org.opendof.core.oalDOFConnectionConfigBuilder

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

C#
public sealed class Builder

The DOFConnectionConfigBuilder type exposes the following members.

Constructors

  NameDescription
Public methodDOFConnectionConfigBuilder(DOFConnectionConfig)
Construct a new builder based on another configuration.
Public methodDOFConnectionConfigBuilder(DOFConnectionState)
Construct a builder based on an existing configuration.
Public methodDOFConnectionConfigBuilder(DOFConnectionType, DOFAddress)
Construct a new builder based on a type and address.
Top
Methods

  NameDescription
Public methodaddDomain
Add a static domain, which is used on a connection that supports authentication, to verify that the host being connected to is authorized to process authentication requests in the domain that is specified.
Public methodaddDomains(DOFDomainConfig)
Add the static domains, which are used on a connection that supports authentication, to verify that the host being connected to is authorized to process authentication requests in the domains specified.
Public methodaddDomains(ICollectionDOFDomainConfig)
Add the collection of static domains, which are used on a connection that supports authentication, to verify that the host being connected to is authorized to process authentication requests in the domains that are specified.
Public methodaddTrustedDomains(DOFObjectIDDomain)
Add in a configured TRP route without credentials.
Public methodaddTrustedDomains(ICollectionDOFObjectIDDomain)
Add in a configured TRP route without credentials.
Public methodbuild
Return a configuration based on the current settings of the builder.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodsetAddress
Set the target address of the connection.
Public methodsetAuditorListener
Set this connection's audit listener.
Public methodsetBridge
Set the bridge of the connection.
Public methodsetConnectionType
Set the type of the connection.
Public methodsetCredentials
Set the credentials of the connection.
Public methodsetDomainDiscoveryCredentials
Set the domain discovery credentials for this connection.
Public methodsetDomains(DOFDomainConfig)
Set the collection of static domains.
Public methodsetDomains(ICollectionDOFDomainConfig)
Set the collection of static domains.
Public methodsetMaxReceiveSilence
Set the maximum receive silence.
Public methodsetMaxSendSilence
Set the maximum send silence time.
Public methodsetName
Set this connection's name to be used in logging.
Public methodsetPermissions
Set the initial permissions of the connection.
Public methodsetPermissionsExtendAllowed
Set whether or not the connection is allowed to request additional permissions from the Authentication Server aside from the initial permission set.
Public methodsetProtocolNegotiator
Set the protocol negotiator to use on the connection.
Public methodsetReceiveFilter
Set the receive filter of the connection.
Public methodsetSecurityDesire
Set this connection's security desire.
Public methodsetSendFilter
Set the send filter of the connection.
Public methodsetStreamRequestListener
Set this connection's stream-request listener.
Public methodsetTransportConfig
Set the transport configuration associated with the connection.
Public methodsetTrustedDomains(DOFObjectIDDomain)
Set the collection of trusted domains.
Public methodsetTrustedDomains(ICollectionDOFObjectIDDomain)
Set the collection of trusted domains.
Public methodsetTunnelDomains
Set whether or not the connection is allowed to tunnel remote domains.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Fields

  NameDescription
Public fieldconnData
Top
Remarks

This class creates connection configurations.

These configurations are immutable once built, and so the builder allows them to be created (and modified) up until they are built.

See Also

Reference