This class represents a route to a domain and provides a view for the state of that domain.
Inheritance Hierarchy
org.opendof.core.oalDOFDomain
Namespace: org.opendof.core.oal
Assembly: dof-oal (in dof-oal.dll) Version: 7.0.1.2
Syntax
C#
public sealed class DOFDomain
The DOFDomain type exposes the following members.
Methods
Name | Description | |
---|---|---|
![]() | addStateListener | Add a new state listener to the domain. |
![]() | destroy | Destroys an domain. |
![]() | Equals | (Inherited from Object.) |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | getState | Get the current instantaneous state of the domain. |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | removeStateListener | Remove a state listener from the domain. |
![]() | ToString | (Overrides ObjectToString.) |
Fields
Name | Description | |
---|---|---|
![]() ![]() | DEFAULT_MAX_SILENCE | The default max silence for a DOFDomain object in milliseconds (1 hour).
|
![]() ![]() | DEFAULT_RETRY_PERIOD | The default retry period for a DOFDomain object in milliseconds (1 minute).
|
Remarks
- Static domains. Upon failure to re-validate, the route is dropped, but the connection is closed.
- Dynamic domains. Upon failure to re-validate, the route is dropped, but the connection is not closed.
- Monitor domains. Upon failure to re-validate, the route is dropped, but the connection is not closed.
- Static domains are added through Builder.addDomains(Config[]) .
- Dynamic domains are added through DOFConnection.addDomain(Config) .
- Monitor domains are added through DOF.createDomain(Config)
See Also