Interface events are notifications that are triggered under certain conditions. A requestor can receive these notifications through a register operation. The Time-based Alarm uses an event to notify requestors when the alarm triggers.
The DOFRegistration is a tool that creates and maintains a register operation to a provider. In this step, we create the DOFRegistration.
DOFRegistration is used to set up an ongoing register operation. This is used to receive notifications when an event is triggered.
When you instantiate DOFRegistration, it automatically attempts to establish a registration. The signature for the constructor is DOFRegistration(DOFSystem, DOFObjectID, DOFInterface.Event, Listener, Object).