This class maintains an event registration.
Inheritance Hierarchy
org.opendof.core.oalDOFRegistration
Namespace: org.opendof.core.oal
Assembly: dof-oal (in dof-oal.dll) Version: 7.0.1.2
Syntax
C#
public sealed class DOFRegistration
The DOFRegistration type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| addListener | Add a listener that will receive an update every time the registered event is signaled.
| |
| destroy | Destroy the DOFRegistration. | |
| Equals | (Inherited from Object.) | |
| getContext | ||
| getEvent | ||
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| getObjectID | ||
| getQuery | ||
| getState | ||
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| removeListener | Remove a previously added listener. | |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |
Remarks
- Unicast - Use a specific DOFObjectID to register for just one provider. The register operation is not flooded. Interest is required because this case uses an internal query to find the provider.
- Multicast - Use DOFObjectID.BROADCAST to register for all providers of the specified DOFInterface . The register operation is flooded. Interest is not required because no internal query is used.
- Query - Use a DOFQuery to specify what to register for. Only one event registration is maintained at a time.
See Also