DOFServerConfigBuilder ClassOpenDOF Object Access Library
This class creates server configurations.
Inheritance Hierarchy

SystemObject
  org.opendof.core.oalDOFServerConfigBuilder

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

C#
public sealed class Builder

The DOFServerConfigBuilder type exposes the following members.

Constructors

  NameDescription
Public methodDOFServerConfigBuilder(DOFServerConfig)
Construct a builder based on an existing configuration.
Public methodDOFServerConfigBuilder(DOFServerState)
Construct a builder based on an existing configuration.
Public methodDOFServerConfigBuilder(DOFServerType, DOFAddress)
Create a simple, unsecure server on the target address.
Top
Methods

  NameDescription
Public methodaddCredentials(DOFCredentials)
Add variable number of credentials to the server.
Public methodaddCredentials(ICollectionDOFCredentials)
Add credentials to the server.
Public methodaddDomain
Add a domain, which is used to verify that the host being connected from is authorized to process authentication requests in the domain that is specified.
Public methodaddDomains(DOFDomainConfig)
Add the domains, which are used to verify that the host being connected from is authorized to process authentication requests in the domains specified.
Public methodaddDomains(ICollectionDOFDomainConfig)
Add the collection of domains, which are used to verify that the host being connected from 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
Build a configuration based on the current state 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 this server's listening address.
Public methodsetAuditorListener
Set this server's audit listener.
Public methodsetBridge
Set the bridge of the server.
Public methodsetConnectionLimit
Set the maximum number of inbound connections that the server can support.
Public methodsetCredentialAssigner
Set this server's credential assigner, which overrides any credentials set with addCredentials(DOFCredentials[]) , and allows the application to use different credentials for incoming requests based on the domain of the requestor.
Public methodsetDomainDiscoveryCredentials
Set the credentials used for remote domain discovery.
Public methodsetMaxReceiveSilence
Set this server's max receive silence.
Public methodsetMaxSendSilence
Set this server's max send silence.
Public methodsetName
Set this server's name used for logging purposes.
Public methodsetPermissions
Set the initial permissions for a domain.
Public methodsetProtocolNegotiator
Set this server's protocol negotiator.
Public methodsetReceiveFilter
Set the receive filter of the server.
Public methodsetSecurityDesire
Set this server's security desire.
Public methodsetSendFilter
Set the send filter of the server.
Public methodsetServerType
Set this server's type.
Public methodsetTransportConfig
Set this server's transport configuration.
Public methodsetTunnelDomains
Set whether or not connections to this server are allowed to tunnel remote domains.
Public methodsetWildcardCredentials
Set the credentials for a connection in any domain not specifically set using addCredentials(DOFCredentials[]) .
Public methodsetWildcardPermissions
Set the permissions for the wildcard credential.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Remarks

This class creates server 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